UNPKG

@mother/mongoose-cursor-pagination

Version:

Easy-to-use, scalable, cursor pagination plugin for mongoose

64 lines (63 loc) 1.6 kB
{ "name": "@mother/mongoose-cursor-pagination", "version": "0.0.6", "description": "Easy-to-use, scalable, cursor pagination plugin for mongoose", "license": "MIT", "homepage": "https://github.com/mother/mongoose-cursor-pagination#readme", "author": "Mother Co <hello@mother.co>", "keywords": [ "mongoose", "mongo", "mongodb", "paginate", "pagination", "cursor", "graphql" ], "repository": { "type": "git", "url": "git+ssh://git@github.com/mother/mongoose-cursor-pagination.git" }, "bugs": { "url": "https://github.com/mother/mongoose-cursor-pagination/issues" }, "directories": { "lib": "lib", "test": "test" }, "engines": { "node": ">= 8.0.0" }, "files": [ "lib" ], "main": "lib/index.js", "scripts": { "lint": "git diff HEAD --name-only --diff-filter=ACM | grep '.js$' | xargs node ./node_modules/eslint/bin/eslint.js --quiet", "lint-full": "node ./node_modules/eslint/bin/eslint.js .", "test": "jest --config ./tests/config/index.js" }, "husky": { "hooks": { "post-merge": "npm install", "post-receive": "npm install", "post-rewrite": "npm install", "pre-commit": "npm run lint && npm audit" } }, "devDependencies": { "eslint-config-mother": "^2.0.15", "eslint-plugin-jest": "^23.9.0", "husky": "^1.3.1", "jest": "^27.0.6", "mongodb-memory-server": "^6.5.2", "mongoose": "^5.13.6" }, "peerDependencies": { "mongoose": ">=5.0.0" }, "dependencies": { "base64-url": "^2.3.3", "lodash.get": "^4.4.2" } }