This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
35 lines (35 loc) · 1.52 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
{
"name": "ibm_db-issue",
"version": "1.0.0",
"description": "",
"scripts": {
"rebuild": "cd node_modules/ibm_db && sed \"s/UNICODE',/&'DEBUG'/\" binding.gyp > binding.debug.gyp && mv binding.gyp binding.old.gyp && mv binding.debug.gyp binding.gyp && IBM_DB_HOME=$(pwd)/installer/clidriver ../.bin/node-gyp rebuild --IS_DOWNLOADED=true && cd ../../",
"deps:start": "./db/start.sh",
"deps:stop": "./db/stop.sh",
"test": "npm run deps:start && npm run test:only && npm run test:file:only && npm run deps:stop",
"docker:run": "docker build -t t . && docker run --network=\"ibmdbissue_default\" -v $(pwd)/test:/opt/app/test:ro -w /opt/app t",
"test:only:base": "mocha --timeout 10000 './test/test.spec.js'",
"test:only:host": "HOST=192.168.99.100 PORT=11111 npm run test:only:base",
"test:only:linux": "npm run docker:run -- npm run test:only:base",
"test:file:only:base": "mocha --timeout 10000 './test/test.file.spec.js'",
"test:file:only:linux": "npm run docker:run -- npm run test:file:only:base",
"test:file:only:host": "HOST=192.168.99.100 PORT=11111 npm run test:file:only:base"
},
"repository": {
"type": "git",
"url": "git+https://github.com/iamcdonald/ibm_db-issue.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/iamcdonald/ibm_db-issue/issues"
},
"homepage": "https://github.com/iamcdonald/ibm_db-issue#readme",
"dependencies": {
"ibm_db": "^2.2.1"
},
"devDependencies": {
"mocha": "^5.0.5",
"node-gyp": "^3.6.2"
}
}