-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
169 lines (169 loc) · 5.18 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "knex",
"version": "0.16.0-next4",
"description": "A batteries-included SQL query & schema builder for Postgres, MySQL and SQLite3 and the Browser",
"main": "knex.js",
"types": "types/knex.d.ts",
"engines": {
"node": ">=6"
},
"dependencies": {
"@babel/polyfill": "^7.0.0",
"bluebird": "^3.5.3",
"chalk": "2.4.1",
"commander": "^2.18.0",
"debug": "4.1.0",
"inherits": "~2.0.3",
"interpret": "^1.1.0",
"liftoff": "2.5.0",
"lodash": "^4.17.11",
"minimist": "1.2.0",
"mkdirp": "^0.5.1",
"pg-connection-string": "2.0.0",
"tarn": "^1.1.4",
"tildify": "1.2.0",
"uuid": "^3.3.2",
"v8flags": "^3.1.1"
},
"lint-staged": {
"*.{js,json}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@babel/cli": "^7.1.5",
"@babel/core": "^7.1.6",
"@babel/preset-env": "^7.1.6",
"@types/node": "*",
"JSONStream": "^1.3.4",
"async": "^2.6.1",
"babel-eslint": "^10.0.1",
"babel-plugin-add-module-exports": "^1.0.0",
"chai": "^4.2.0",
"chai-subset-in-order": "^2.1.2",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"eslint": "5.9.0",
"eslint-config-prettier": "^3.3.0",
"eslint-plugin-import": "^2.14.0",
"husky": "^1.1.4",
"jake": "^8.0.19",
"json-loader": "^0.5.7",
"lint-staged": "^8.0.4",
"mocha": "^5.2.0",
"mock-fs": "^4.7.0",
"mssql": "4.1.0",
"mysql": "^2.16.0",
"mysql2": "^1.6.4",
"nyc": "^13.0.1",
"pg": "^7.6.1",
"pg-query-stream": "^1.1.2",
"prettier": "^1.15.2",
"rimraf": "^2.6.2",
"sinon": "^7.1.1",
"sinon-chai": "^3.2.0",
"source-map-support": "^0.5.9",
"sqlite3": "^4.0.4",
"tap-spec": "^5.0.0",
"tape": "^4.9.1",
"through": "^2.3.8",
"toxiproxy-node-client": "^2.0.6"
},
"buildDependencies": [
"@babel/cli",
"babel-plugin-add-module-exports",
"@babel/preset-env",
"rimraf"
],
"scripts": {
"format": "prettier --write \"{src,bin,scripts,test}/**/*.js\"",
"build": "npm run babel",
"debug_test": "node --inspect-brk ./node_modules/.bin/_mocha -- --exit -t 0 test/index.js",
"babel": "rimraf ./lib && babel src --out-dir lib --copy-files",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"dev": "rimraf ./lib && babel -w src --out-dir lib --copy-files",
"lint": "eslint '{src,test}/**/*.js'",
"plaintest": "mocha --exit -t 10000 -b -R spec test/index.js && npm run tape",
"prepublish": "npm run babel",
"pre_test": "npm run lint",
"bin_test": "cross-env KNEX_PATH=../knex.js KNEX=bin/cli.js jake -f test/jake/*",
"tape": "node test/tape/index.js | tap-spec",
"debug_tape": "node --inspect-brk test/tape/index.js",
"test": "npm run pre_test && nyc mocha --exit --check-leaks --globals __core-js_shared__ -t 10000 -R spec test/index.js && npm run tape && npm run bin_test",
"oracledb:test": "docker rmi -f --no-prune knex-test-oracledb && docker build -f scripts/oracle-tests-Dockerfile --tag knex-test-oracledb . && docker run --rm -i -t -e KNEX_TEST_TIMEOUT=$KNEX_TEST_TIMEOUT -e NODE_VER=$NODE_VER knex-test-oracledb",
"mssql:init": "docker-compose -f scripts/mssql-docker-compose.yml up --no-start && docker-compose -f scripts/mssql-docker-compose.yml start",
"postmssql:init": "node scripts/wait-for-mssql-server.js && npm run mssql:logs || (npm run mssql:logs;false)",
"mssql:logs": "docker-compose -f scripts/mssql-docker-compose.yml logs",
"mssql:test": "DB=mssql npm test",
"mssql:destroy": "docker-compose -f scripts/mssql-docker-compose.yml stop",
"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"
},
"bin": {
"knex": "./bin/cli.js"
},
"repository": {
"type": "git",
"url": "git://github.com/tgriesser/knex.git"
},
"homepage": "https://knexjs.org",
"keywords": [
"sql",
"query",
"postgresql",
"mysql",
"sqlite3",
"oracle",
"mssql"
],
"author": {
"name": "Tim Griesser",
"web": "https://github.com/tgriesser"
},
"browser": {
"./lib/migrate/index.js": "./lib/util/noop.js",
"./lib/bin/cli.js": "./lib/util/noop.js",
"./lib/seed/index.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/*",
"src/*",
"lib/*",
"knex.js",
"LICENSE",
"CHANGELOG.md",
"scripts/*"
],
"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"
}
}
}