UNPKG

objection

Version:
124 lines (123 loc) 3.99 kB
{ "name": "objection", "version": "2.2.4", "description": "An SQL-friendly ORM for Node.js", "main": "lib/objection.js", "license": "MIT", "scripts": { "test": "npm run eslint && mocha --slow 10 --timeout 15000 --reporter spec --recursive tests --exclude \"tests/unit/relations/files/**\"", "test-travis": "nyc mocha --slow 100 --timeout 60000 --reporter spec --recursive tests --exclude \"tests/unit/relations/files/**\" && npm run test-typings", "test-fast": "mocha --slow 10 --timeout 15000 --reporter spec --recursive tests --bail --exclude \"tests/unit/relations/files/**\"", "test-opt": "mocha --slow 10 --timeout 15000 --reporter spec --recursive tests --bail --trace_opt --trace_deopt --exclude \"tests/unit/relations/files/**\"", "test-debug": "mocha --slow 10 --timeout 15000 --reporter spec --recursive tests --inspect-brk --exclude \"tests/unit/relations/files/**\"", "test-sqlite": "cross-env DATABASES=sqlite3 mocha --slow 10 --timeout 15000 --reporter spec --recursive tests --exclude \"tests/unit/relations/files/**\"", "test-typings": "tsc", "coveralls": "cat ./testCoverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", "perf": "mocha --slow 60000 --timeout 60000 --reporter spec --recursive perf", "perf-debug": "mocha --slow 60000 --timeout 60000 --reporter spec --inspect-brk perf", "perf-opt": "mocha --slow 60000 --timeout 60000 --reporter spec --recursive perf --trace_opt --trace_deopt", "prettier": "prettier --write \"{examples,lib,tests,typings,doc}/**/*.{js,ts}\"", "eslint": "eslint --format codeframe \"examples/**/*.js\" \"lib/**/*.js\" \"tests/**/*.js\"", "docs:dev": "vuepress dev doc", "docs:build": "vuepress build doc" }, "publishConfig": { "tag": "next" }, "author": { "name": "Sami Koskimäki", "email": "sami@jakso.me", "url": "https://github.com/koskimas" }, "contributors": [ "Sami Koskimäki <sami@jakso.me> (https://github.com/koskimas)", "Mikael Lepistö <mikael.lepisto@vincit.com> (https://github.com/elhigu)", "Matthew McEachen <matthew-objection@photostructure.com> (https://github.com/mceachen)", "Jürg Lehni <juerg@scratchdisk.com> (https://github.com/lehni)", "Igor Savin <kibertoad@gmail.com> (https://github.com/kibertoad)" ], "repository": { "type": "git", "url": "git://github.com/vincit/objection.js.git" }, "engines": { "node": ">=8.0.0" }, "keywords": [ "orm", "knex", "sql", "query", "query builder", "postgresql", "mysql", "sqlite3" ], "files": [ "README.md", "LICENSE", "lib/*", "typings/*" ], "types": "./typings/objection/index.d.ts", "dependencies": { "ajv": "^6.12.6", "db-errors": "^0.2.3" }, "peerDependencies": { "knex": "0.x" }, "devDependencies": { "@types/node": "^14.14.13", "chai": "^4.2.0", "chai-subset": "^1.6.0", "coveralls": "^3.1.0", "cross-env": "^7.0.3", "eslint": "^7.15.0", "eslint-plugin-prettier": "^3.2.0", "expect.js": "^0.3.1", "fs-extra": "^9.0.1", "glob": "^7.1.6", "husky": "^4.3.6", "knex": "0.21.15", "lint-staged": "^10.5.3", "mocha": "^8.2.1", "mysql": "^2.18.1", "nyc": "^15.1.0", "pg": "^8.5.1", "prettier": "2.2.1", "sqlite3": "^5.0.0", "typescript": "^4.1.3", "vuepress": "1.7.1" }, "nyc": { "description": "test coverage", "exclude": [ "lib/queryBuilder/parsers/jsonFieldExpressionParser.js", "lib/queryBuilder/parsers/relationExpressionParser.js", "testUtils/*", "lib/utils/clone.js" ], "reporter": [ "lcov", "text" ], "report-dir": "./testCoverage" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.js": [ "prettier --write", "eslint --fix", "git add" ], "*.{yml,ts}": [ "prettier --write", "git add" ] } }