UNPKG

objection-paginator

Version:
79 lines (78 loc) 2.08 kB
{ "name": "objection-paginator", "version": "0.7.1", "description": "Paginated queries for Objection.js", "keywords": [ "objection", "pagination", "cursor", "keyset" ], "author": "Batterii, LLC", "license": "MIT", "repository": "github:Batterii/objection-paginator", "engines": { "node": ">=12", "npm": ">=5.3" }, "type": "module", "files": [ "dist", "!dist/**/test-utils/", "!dist/**/*.test.js", "!dist/**/*.test.js.map" ], "exports": { ".": { "import": "./dist/mjs/index.js", "require": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts" } }, "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", "scripts": { "lint": "eslint . --ext .ts", "lintf": "eslint . --ext .ts --fix", "build:mjs": "rm -rf dist/mjs && tsc", "build:cjs": "rm -rf dist/cjs && tsc -p tsconfig-cjs.json && ./fixup-cjs.sh", "build:types": "rm -rf dist/types && tsc -p tsconfig-types.json", "build": "npm run build:mjs && npm run build:cjs && npm run build:types", "test:run": "mocha dist/mjs/**/*.test.js", "test": "npm run build:mjs && npm run test:run", "preversion": "npm run lint && npm run build && npm run test:run", "prepublishOnly": "git push && git push --tags" }, "devDependencies": { "@batterii/eslint-config-vurvey": "^0.3.3", "@batterii/fake-query": "^2.0.1", "@types/chai": "^4.2.22", "@types/fs-extra": "^9.0.13", "@types/lodash": "^4.14.176", "@types/mocha": "^9.0.0", "@types/node": "^16.11.7", "@types/object-path": "^0.11.1", "@typescript-eslint/eslint-plugin": "^5.3.1", "@typescript-eslint/parser": "^5.3.1", "chai": "^4.3.4", "eslint": "^7.32.0", "fs-extra": "^10.1.0", "knex": "^2.2.0", "mocha": "^9.1.3", "objection": "^3.0.1", "source-map-support": "^0.5.20", "sqlite3": "^5.0.2", "typescript": "^4.4.4" }, "dependencies": { "@batterii/encode-object": "^2.1.1", "@batterii/errors": "^2.2.0", "lodash": "^4.17.21", "nani": "^3.2.1", "object-path": "^0.11.8" }, "peerDependencies": { "knex": ">=0.21.21 <3", "objection": ">=2.2 <4" } }