mongo-cursor-pagination
Version:
Make it easy to return cursor-paginated results from a Mongo collection
94 lines (93 loc) • 2.72 kB
JSON
{
"name": "mongo-cursor-pagination",
"version": "9.0.1",
"description": "Make it easy to return cursor-paginated results from a Mongo collection",
"main": "dist/node/index.js",
"files": [
"index.js",
"dist",
"src"
],
"scripts": {
"ci": "npm run lint && npm run test",
"ci:commitlint": "commitlint-jenkins --pr-only",
"lint": "eslint . && tsc --noEmit",
"prepublishOnly": "npm run build",
"semantic-release": "SEMANTIC_COMMITLINT_SKIP=f4543f643bac890c627d538e6200c5f5a1d45ebc semantic-release",
"test": "npm run test:mongoist && npm run test:native",
"test:mongoist": "DRIVER=mongoist jest --forceExit",
"test:native": "DRIVER=native jest",
"build": "rm -rf dist/ && tsc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mixmaxhq/mongo-cursor-pagination.git"
},
"keywords": [
"mongo",
"pagination",
"cursor",
"database",
"fulltext",
"search",
"find"
],
"author": "Brad Vogel <brad@mixmax.com> (https://mixmax.com/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/mixmaxhq/mongo-cursor-pagination/issues"
},
"homepage": "https://github.com/mixmaxhq/mongo-cursor-pagination#readme",
"dependencies": {
"base64-url": "^2.2.0",
"bson": "^6.10.3",
"object-path": "^0.11.8",
"projection-utils": "^1.1.0",
"underscore": "^1.12.1"
},
"devDependencies": {
"@commitlint/config-conventional": "^8.3.4",
"@mixmaxhq/commitlint-jenkins": "^1.4.4",
"@mixmaxhq/prettier-config": "^1.0.0",
"@mixmaxhq/semantic-release-config": "^2.0.0",
"@mixmaxhq/ts-config": "^1.2.1",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.12",
"@types/node": "^18.19.70",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"cz-conventional-changelog": "^3.2.0",
"eslint": "^7.32.0",
"eslint-config-mixmax": "^4.11.2",
"jest": "^29.6.2",
"mockgoose": "^8.0.4",
"mongodb": "^6.15.0",
"mongodb-memory-server": "^10.1.4",
"mongoist": "^4.0.1",
"mongoose": "^8.12.2",
"prettier": "^1.19.1",
"semantic-release": "^17.4.7",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
},
"engines": {
"node": ">= 6.9.1"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"manualPublishMessage": "This repository is configured to use semantic-release for its releases. Please do not release manually.\n"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release": {
"extends": "@mixmaxhq/semantic-release-config"
},
"publishConfig": {
"access": "public"
}
}