-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·109 lines (109 loc) · 3.24 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
{
"name": "amon-test",
"version": "0.3.0",
"description": "Amon dev test",
"repository": "https://github.com/amontech/amon-nodejs-test.git",
"license": "MIT",
"private": true,
"main": "./runners/main",
"scripts": {
"start": "npm run service:main",
"doc": "apidoc -i ./src/services/api/routers -o ./apidoc/",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format:check": "prettier --check .",
"format:fix": "prettier --write .",
"test": "mocha ./test/test.config.js ./test/mockDb.js ./test/unit --recursive --timeout 90000",
"test:coverage": "nyc --temp-dir=coverage/.nyc_outputUnit --report-dir=coverage/unit npm run test",
"test:coverage:check": "nyc check-coverage --temp-dir=coverage/unit --statements 96 --branches 91 --functions 94 --lines 96",
"test:dotonly": "dot-only-hunter test",
"service:main": "node runners/main",
"service:api": "nodemon runners/api",
"dependencies": "docker-compose down && docker-compose -f docker-compose.test.yml up --build db",
"db:create": "node src/models/pg/utils/create",
"db:migrate": "node src/models/pg/utils/migrate",
"db:migrate:create": "sequelize migration:create --migrations-path src/models/pg/migrations/ --name",
"wait:migrate": "test/scripts/waitDown.sh migrate",
"wait:db": "test/scripts/waitUp.sh db 5432",
"wait:api": "test/scripts/waitUp.sh service-api 3000"
},
"engines": {
"node": "12.x",
"npm": "8.x"
},
"nyc": {
"cache": true,
"extension": [
".js"
],
"reporter": [
"html",
"json",
"text-summary"
],
"include": [
"src"
]
},
"dependencies": {
"@koa/cors": "^3.1.0",
"@koa/router": "^10.1.1",
"@sentry/integrations": "^6.14.1",
"@sentry/node": "^6.14.1",
"apidoc": "^0.50.1",
"async": "^3.2.2",
"axios": "^0.26.1",
"bull": "3.22.2",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"chai-date-string": "^0.1.0",
"codecov": "^3.8.3",
"decimal.js": "^10.3.1",
"dot-only-hunter": "^1.0.3",
"dotenv": "^10.0.0",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.1",
"istanbul-combine": "^0.3.0",
"joi": "^17.4.2",
"koa": "^2.13.4",
"koa-bodyparser": "^4.3.0",
"koa-compose": "^4.1.0",
"koa-ctx-cache-control": "^1.0.1",
"koa-jwt": "^4.0.3",
"lodash": "^4.17.21",
"logzio-nodejs": "^2.0.3",
"mocha": "^9.1.3",
"mocha-junit-reporter": "^2.0.2",
"moment": "^2.29.1",
"moment-range": "^4.0.2",
"node-rsa": "^1.1.1",
"nonce": "^1.0.4",
"nyc": "^15.1.0",
"pg": "^8.7.1",
"pg-hstore": "^2.3.4",
"pg-native": "^3.0.0",
"prettier": "^2.4.1",
"request": "^2.88.2",
"request-promise": "^4.2.6",
"sequelize": "^6.9.0",
"sequelize-mocking": "^2.0.1",
"shortid": "^2.2.16",
"sinon": "^12.0.1",
"sqlite3": "^5.0.2",
"superagent": "^6.1.0",
"supertest": "^6.1.6",
"throng": "^5.0.0",
"toobusy-js": "^0.5.1",
"umzug": "^3.0.0",
"uuid": "^8.3.2",
"winston": "^3.3.3",
"winston-transport": "^4.4.0",
"ws": "^8.2.3"
},
"devDependencies": {
"sequelize-cli": "^6.3.0"
}
}