knex/package.json
2019-12-29 20:28:40 +01:00

199 lines
5.2 KiB
JSON

{
"name": "knex",
"version": "0.20.6",
"description": "A batteries-included SQL query & schema builder for Postgres, MySQL and SQLite3 and the Browser",
"main": "knex.js",
"types": "types/index.d.ts",
"engines": {
"node": ">=8"
},
"scripts": {
"format": "prettier --write \"{lib,bin,scripts,test}/**/*.js\"",
"debug:test": "mocha --inspect-brk --exit -t 0 test/index.js",
"debug:tape": "node --inspect-brk test/tape/index.js",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"lint": "eslint \"lib/**/*.js\" \"test/**/*.js\"",
"lint:types": "dtslint types",
"lint:everything": "npm run lint:types && npm run lint",
"test": "mocha --exit -t 10000 test/index.js && npm run test:tape && npm run test:cli",
"test:coverage": "nyc mocha --exit --check-leaks --globals __core-js_shared__ -t 10000 test/index.js && npm run test:tape && npm run test:cli",
"test:everything": "npm run lint:everything && npm run test:coverage",
"test:sqlite": "cross-env DB=sqlite3 npm test",
"test:tape": "node test/tape/index.js | tap-spec",
"test:cli": "cross-env KNEX_PATH=../knex.js KNEX=bin/cli.js jake -f test/jake/Jakefile",
"db:start": "docker-compose -f scripts/docker-compose.yml up --build -d mysql oracledbxe postgres mssql; docker-compose -f scripts/docker-compose.yml up initmssqlknexdb waitmysql waitpostgres waitoracledbxe",
"db:stop": "docker-compose -f scripts/docker-compose.yml down",
"stress:init": "docker-compose -f scripts/stress-test/docker-compose.yml up --no-start && docker-compose -f scripts/stress-test/docker-compose.yml start",
"stress:test": "node scripts/stress-test/knex-stress-test.js | grep -A 5 -B 60 -- '- STATS '",
"stress:destroy": "docker-compose -f scripts/stress-test/docker-compose.yml stop"
},
"dependencies": {
"bluebird": "^3.7.2",
"colorette": "1.1.0",
"commander": "^4.0.1",
"debug": "4.1.1",
"getopts": "2.2.5",
"inherits": "~2.0.4",
"interpret": "^2.0.0",
"liftoff": "3.1.0",
"lodash": "^4.17.15",
"mkdirp": "^0.5.1",
"pg-connection-string": "2.1.0",
"tarn": "^2.0.0",
"tildify": "2.0.0",
"uuid": "^3.3.3",
"v8flags": "^3.1.3"
},
"peerDependencies": {
"mssql": "^5.1.0",
"mysql": "^2.17.1",
"mysql2": "^1.7.0",
"pg": "^7.12.1",
"sqlite3": "^4.1.0"
},
"peerDependenciesMeta": {
"mssql": {
"optional": true
},
"mysql": {
"optional": true
},
"mysql2": {
"optional": true
},
"pg": {
"optional": true
},
"sqlite3": {
"optional": true
}
},
"lint-staged": {
"*.{js,json}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@types/node": "^10.17.13",
"JSONStream": "^1.3.5",
"chai": "^4.2.0",
"chai-subset-in-order": "^2.1.3",
"cli-testlab": "^1.8.0",
"coveralls": "^3.0.9",
"cross-env": "^6.0.3",
"dtslint": "^2.0.2",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-import": "^2.18.2",
"husky": "^3.0.9",
"jake": "^8.1.1",
"lint-staged": "^9.4.3",
"mocha": "^6.2.2",
"mock-fs": "^4.10.3",
"mssql": "^5.1.0",
"mysql": "^2.17.1",
"mysql2": "^2.0.0",
"nyc": "^14.1.1",
"pg": "^7.16.1",
"pg-query-stream": "^2.0.1",
"prettier": "1.18.2",
"rimraf": "^3.0.0",
"sinon": "^7.5.0",
"sinon-chai": "^3.3.0",
"source-map-support": "^0.5.16",
"sqlite3": "^4.1.0",
"tap-spec": "^5.0.0",
"tape": "^4.11.0",
"toxiproxy-node-client": "^2.0.6",
"typescript": "3.6.4",
"webpack-cli": "^3.3.10"
},
"buildDependencies": [
"rimraf"
],
"bin": {
"knex": "./bin/cli.js"
},
"repository": {
"type": "git",
"url": "git://github.com/knex/knex.git"
},
"homepage": "https://knexjs.org",
"keywords": [
"sql",
"query",
"postgresql",
"mysql",
"sqlite3",
"oracle",
"mssql"
],
"author": {
"name": "Tim Griesser",
"web": "https://github.com/tgriesser"
},
"contributors": [
{
"name": "Simon Liden"
},
{
"name": "Mikael Lepisto"
},
{
"name": "Paul Gaurab",
"web": "https://lorefnon.tech"
},
{
"name": "Igor Savin",
"web": "https://www.codeflashbacks.com"
}
],
"browser": {
"./lib/migrate/Migrator.js": "./lib/util/noop.js",
"./lib/bin/cli.js": "./lib/util/noop.js",
"./lib/seed/Seeder.js": "./lib/util/noop.js",
"mssql": false,
"mssql/lib/base": false,
"tedious": false,
"mysql": false,
"mysql2": false,
"pg": false,
"pg-query-stream": false,
"oracle": false,
"sqlite3": false,
"oracledb": false
},
"react-native": {
"./lib/migrate": "./lib/util/noop.js",
"./lib/seed": "./lib/util/noop.js"
},
"files": [
"CONTRIBUTING.md",
"README.md",
"bin/*",
"lib/*",
"lib/*",
"knex.js",
"LICENSE",
"CHANGELOG.md",
"scripts/*",
"types/index.d.ts",
"types/result.d.ts"
],
"license": "MIT",
"tonicExampleFilename": "scripts/runkit-example.js",
"nyc": {
"check-coverage": true,
"lines": 84,
"statements": 82,
"functions": 83,
"branches": 69
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}