/
package.json
45 lines (45 loc) · 1.33 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
{
"name": "cardimom",
"version": "1.0.0",
"description": "",
"main": "./src/launcher.js",
"scripts": {
"test": "NODE_OPTIONS=--experimental-vm-modules jest --coverage=true -i",
"start": "node ./src/launcher.js",
"local_test": "TEST_POSTGRES_HOST=localhost TEST_POSTGRES_PORT=5432 TEST_POSTGRES_PASSWORD=test123 TEST_POSTGRES_DB=cardimom_test npm test",
"trial_run": "node -e 'import(\"./src/utilities.js\").then(utils => utils.trialRun());'",
"local_dry_run": "DATABASE_URL=postgres://postgres:test123@localhost:5432/cardimom DRY_RUN=true SSL_UNSUPPORTED=true node --trace-warnings src/launcher.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/oitee/cardimom.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/oitee/cardimom/issues"
},
"homepage": "https://github.com/oitee/cardimom#readme",
"dependencies": {
"jsdom": "^17.0.0",
"node-fetch": "^2.6.1",
"pg": "^8.7.1",
"twitter-lite": "^1.1.0"
},
"type": "module",
"devDependencies": {
"expect": "^27.1.1",
"jest": "^27.1.0"
},
"jest": {
"testMatch": [
"**/test/**.js"
],
"testTimeout": 60000,
"modulePathIgnorePatterns": [
"./test/pg_utils.js",
"./test/setup_jest.js"
],
"setupFilesAfterEnv": ["./test/setup_jest.js"]
}
}