UNPKG

mongoose-aggregate-paginate-v2

Version:

A page based custom aggregate pagination library for Mongoose with customizable labels.

92 lines (91 loc) 2.99 kB
{ "name": "mongoose-aggregate-paginate-v2", "version": "1.1.4", "description": "A page based custom aggregate pagination library for Mongoose with customizable labels.", "main": "index.js", "types": "types/index.d.ts", "scripts": { "pretest": "npm run prepare", "test": "mocha tests/*.js -R spec --ui bdd --timeout 5000", "prepare": "babel lib -d dist", "lint": "eslint \"tests\" \"lib\" \".eslintrc.js\" --fix", "prettier": "prettier --write \"{lib,tests}/**/*.js\" \"*.md\"", "prepublishOnly": "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" ] }, "repository": { "type": "git", "url": "git+https://github.com/aravindnc/mongoose-aggregate-paginate-v2.git" }, "keywords": [ "aggregate", "aggregate-paginate", "aggregate-pagination", "mongoose-aggregate", "mongoose", "pagination", "plugin", "mongodb", "paginate", "paging", "next", "prev", "nextpage", "prevpage", "total", "paginator", "plugin" ], "author": "Aravind NC <aravind_n_c@yahoo.co.in> (https://aravindnc.com)", "license": "MIT", "bugs": { "url": "https://github.com/aravindnc/mongoose-aggregate-paginate-v2/issues" }, "homepage": "https://github.com/aravindnc/mongoose-aggregate-paginate-v2#readme", "devDependencies": { "@babel/cli": "^7.12.1", "@babel/core": "^7.12.3", "@babel/plugin-proposal-class-properties": "^7.12.1", "@babel/plugin-proposal-decorators": "^7.12.1", "@babel/plugin-proposal-do-expressions": "^7.12.1", "@babel/plugin-proposal-export-default-from": "^7.12.1", "@babel/plugin-proposal-export-namespace-from": "^7.12.1", "@babel/plugin-proposal-function-bind": "^7.12.1", "@babel/plugin-proposal-function-sent": "^7.12.1", "@babel/plugin-proposal-json-strings": "^7.12.1", "@babel/plugin-proposal-logical-assignment-operators": "^7.12.1", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1", "@babel/plugin-proposal-numeric-separator": "^7.12.5", "@babel/plugin-proposal-optional-chaining": "^7.12.1", "@babel/plugin-proposal-pipeline-operator": "^7.12.1", "@babel/plugin-proposal-throw-expressions": "^7.12.1", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/preset-env": "^7.12.1", "babel-eslint": "^10.1.0", "chai": "^4.2.0", "eslint": "^7.13.0", "eslint-config-prettier": "^6.15.0", "husky": "^4.3.0", "lint-staged": "^10.5.1", "mocha": "^10.4.0", "mongoose": "^8.8.3", "prettier": "^2.1.2" }, "engines": { "node": ">=4.0.0" } }