UNPKG

@lykmapipo/file

Version:

Store and serve file content i.e photos, videos etc on top of MongoDB GridFS

142 lines (141 loc) 4.04 kB
{ "name": "@lykmapipo/file", "version": "0.1.32", "description": "Store and serve file content i.e photos, videos etc on top of MongoDB GridFS", "main": "lib/index.js", "module": "es/index.js", "scripts": { "clean": "rimraf lib dist es umd logs", "prebuild": "npm test && npm run clean", "build": "rollup -c", "lint": "eslint --fix --ext .js src/ test/ rollup.config.js", "pretest": "npm run lint", "test": "NODE_ENV=test mocha --timeout 80000 --require @babel/register test/**/*.spec.js", "test:unit": "npm run pretest && NODE_ENV=test mocha --require @babel/register test/unit/**/*.spec.js", "test:integration": "npm run pretest && NODE_ENV=test mocha --require @babel/register test/integration/**/*.spec.js", "docs": "doxdox 'lib/**/*.js' -p package.json -l markdown -o DOCUMENTATION.md", "cmt": "git add -A && git-cz", "changelog": "changelog", "chore:deps": "ncu -u && npm install --save", "dev": "npm run start", "start": "BASE_PATH=./examples node ./examples/app.js", "seed": "BASE_PATH=./examples node ./examples/seed.js" }, "keywords": [ "lykmapipo", "mongoose", "mongoose-module", "mongodb", "gridfs", "fs", "stream", "filesystem", "file", "storage", "bucket", "upload", "download", "chunk" ], "repository": { "type": "git", "url": "https://github.com/lykmapipo/file.git" }, "author": { "name": "lykmapipo", "email": "lallyelias87@gmail.com", "url": "https://github.com/lykmapipo" }, "contributors": [ { "name": "lykmapipo", "email": "lallyelias87@gmail.com", "url": "https://github.com/lykmapipo" } ], "license": "MIT", "bugs": { "url": "https://github.com/lykmapipo/file/issues", "email": "lallyelias87@gmail.com" }, "homepage": "https://github.com/lykmapipo/file", "devDependencies": { "@babel/cli": "^7.12.10", "@babel/core": "^7.12.10", "@babel/node": "^7.12.10", "@babel/preset-env": "^7.12.11", "@babel/register": "^7.12.10", "@benmaruchu/faker": "^4.3.0", "@codetanzania/majifix-common": "^0.20.0", "@commitlint/cli": "^11.0.0", "@commitlint/config-conventional": "^11.0.0", "@commitlint/travis-cli": "^11.0.0", "@lykmapipo/express-test-helpers": "^0.9.14", "@lykmapipo/mongoose-test-helpers": "^0.8.4", "chai": "^4.2.0", "commitizen": "^4.2.2", "cz-conventional-changelog": "^3.3.0", "doxdox": "^3.0.0", "eslint": "^7.16.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-config-prettier": "^7.1.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-mocha": "^8.0.0", "eslint-plugin-prettier": "^3.3.0", "generate-changelog": "^1.8.0", "handlebars": "^4.7.6", "husky": "^4.3.6", "is-stream": "^2.0.0", "lint-staged": "^10.5.3", "lodash.template": "^4.5.0", "mocha": "^8.2.1", "mongoose": ">=5.11.8", "npm-check-updates": "^10.2.5", "prettier": "^2.2.1", "rimraf": "^3.0.2", "rollup": "^2.35.1", "shelljs": "^0.8.4" }, "peerDependencies": { "mongoose": ">=5.11.8" }, "dependencies": { "@lykmapipo/common": ">=0.42.4", "@lykmapipo/env": ">=0.17.24", "@lykmapipo/express-common": ">=0.18.14", "@lykmapipo/express-rest-actions": ">=0.8.26", "@lykmapipo/mongoose-common": ">=0.38.4", "@lykmapipo/multer": ">=1.5.0", "async": ">=3.2.0", "lodash": ">=4.17.20", "mime": ">=2.4.7", "mongoose-gridfs": ">=1.2.48", "mongoose-rest-actions": ">=0.30.6" }, "engines": { "node": ">=8.11.1", "npm": ">=5.6.0" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "lint-staged": { "src/**/*.js": [ "npm run lint", "git add -A" ] }, "husky": { "hooks": { "pre-commit": "lint-staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } } }