UNPKG

mongoose-bread

Version:

A pagination and softdelete library for mongoose

93 lines (92 loc) 3.05 kB
{ "name": "mongoose-bread", "version": "1.0.19", "description": "A pagination and softdelete library for mongoose", "author": "mjlux", "license": "MIT", "homepage": "", "main": "dist/index.js", "repository": { "type": "git", "url": "git+https://github.com/mjlux/mongoose-bread.git" }, "scripts": { "prestart": "npm run build", "start": "node server.js", "pretest": "npm run build", "test": "node node_modules/mocha/bin/mocha test/*.js -R spec --ui bdd --timeout 9999999", "test:plugin": "npm run pretest & node node_modules/mocha/bin/mocha test/mongoose-bread.test.js -R spec --ui bdd --timeout 9999999", "build": "babel src -d dist --no-comments", "lint": "node node_modules/eslint/bin/eslint \"test\" \"src\" \".eslintrc.js\" --fix", "prettier": "node node_modules/prettier/bin-prettier --write \"{src,test}/**/*.js\"", "prepublish": "npm run test" }, "husky": { "hooks": { "pre-commit": "./node_modules/.bin/lint-staged" } }, "lint-staged": { "*.js": [ "./node_modules/.bin/eslint --fix", "./node_modules/.bin/prettier --write" ], "*.md": [ "./node_modules/.bin/prettier --write" ] }, "keywords": [ "bread", "crud", "helper", "mongodb", "mongoose", "paginate", "pagination", "paginator", "paging", "plugin", "softdelete" ], "dependencies": { "mongoose-delete": "^0.5.4", "mongoose-paginate-v2": "^1.7.1" }, "devDependencies": { "@babel/cli": "^7.14.5", "@babel/core": "^7.14.6", "@babel/plugin-proposal-class-properties": "^7.14.5", "@babel/plugin-proposal-decorators": "^7.14.5", "@babel/plugin-proposal-do-expressions": "^7.14.5", "@babel/plugin-proposal-export-default-from": "^7.14.5", "@babel/plugin-proposal-export-namespace-from": "^7.14.5", "@babel/plugin-proposal-function-bind": "^7.14.5", "@babel/plugin-proposal-function-sent": "^7.14.5", "@babel/plugin-proposal-json-strings": "^7.14.5", "@babel/plugin-proposal-logical-assignment-operators": "^7.14.5", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5", "@babel/plugin-proposal-numeric-separator": "^7.14.5", "@babel/plugin-proposal-optional-chaining": "^7.14.5", "@babel/plugin-proposal-pipeline-operator": "^7.14.5", "@babel/plugin-proposal-throw-expressions": "^7.14.5", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/preset-env": "^7.14.7", "@typescript-eslint/eslint-plugin": "^5.10.2", "@typescript-eslint/parser": "^5.10.2", "babel-eslint": "^10.1.0", "babel-preset-minify": "^0.5.2", "body-parser": "^1.20.2", "chai": "^4.3.7", "eslint": "^7.32.0", "eslint-config-prettier": "^6.15.0", "express": "^4.18.1", "husky": "^4.3.8", "lint-staged": "^10.5.4", "mocha": "^10.2.0", "mongoose": "^6.5.3", "mongoose-autopopulate": "^1.0.1", "prettier": "^2.3.2", "typescript": "^4.5.5" } }