-
Notifications
You must be signed in to change notification settings - Fork 221
/
package.json
174 lines (174 loc) · 4.82 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
170
171
172
173
174
{
"name": "knex",
"version": "0.19.4",
"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.0",
"colorette": "1.1.0",
"commander": "^3.0.2",
"debug": "4.1.1",
"getopts": "2.2.5",
"inherits": "~2.0.4",
"interpret": "^1.2.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"
},
"lint-staged": {
"*.{js,json}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@types/node": "^10.14.20",
"JSONStream": "^1.3.5",
"chai": "^4.2.0",
"chai-subset-in-order": "^2.1.3",
"cli-testlab": "^1.8.0",
"coveralls": "^3.0.6",
"cross-env": "^6.0.3",
"dtslint": "^0.9.8",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-import": "^2.18.2",
"husky": "^3.0.8",
"jake": "^8.1.1",
"lint-staged": "^9.4.1",
"mocha": "^6.2.1",
"mock-fs": "^4.10.1",
"mssql": "^5.1.0",
"mysql": "^2.17.1",
"mysql2": "^1.7.0",
"nyc": "^14.1.1",
"pg": "^7.12.1",
"pg-query-stream": "^2.0.0",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"sinon": "^7.5.0",
"sinon-chai": "^3.3.0",
"source-map-support": "^0.5.13",
"sqlite3": "^4.1.0",
"tap-spec": "^5.0.0",
"tape": "^4.11.0",
"toxiproxy-node-client": "^2.0.6",
"typescript": "^3.6.3",
"webpack-cli": "^3.3.9"
},
"buildDependencies": [
"rimraf"
],
"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"
},
"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"
}
}
}