-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
86 lines (86 loc) · 2.63 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
{
"name": "core",
"version": "1.38.3",
"description": "The core module of my.aegee.eu",
"keywords": [],
"author": "Sergey Peshkov",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@faker-js/faker": "^8.3.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"conventional-changelog": "^5.1.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.1",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"lint-staged": "^15.2.0",
"nock": "^13.5.0",
"nyc": "^15.1.0",
"open-cli": "^8.0.0",
"semantic-release": "^22.0.12"
},
"scripts": {
"test": "NODE_ENV=test npm run db:setup && jest test/**/*.test.js --runInBand --forceExit",
"test:ci": "NODE_ENV=test npm run db:setup && jest --runInBand --forceExit",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"lint-staged": "lint-staged",
"db:create": "sequelize db:create",
"db:setup": "sequelize db:drop; sequelize db:create; sequelize db:migrate; rm -f state/.seed-executed-$NODE_ENV",
"db:migrate": "sequelize db:migrate",
"db:seed": "LOGLEVEL=info node --experimental-repl-await scripts/seed.js && touch state/.seed-executed-$NODE_ENV",
"db:clear": "LOGLEVEL=info node --experimental-repl-await scripts/clear.js; rm -f state/.seed-executed-$NODE_ENV",
"db:recreate": "npm run db:setup && npm run db:seed",
"cli": "node --experimental-repl-await -r ./cli.js",
"open-coverage": "open-cli coverage/lcov-report/index.html",
"prepare": "husky install"
},
"lint-staged": {
"*.{js,jsx}": "eslint"
},
"jest": {
"testEnvironment": "node",
"verbose": true,
"collectCoverage": true,
"collectCoverageFrom": [
"lib/**/*.js",
"models/**/*.js",
"middlewares/**/*.js",
"!lib/run.js",
"!lib/sequelize.js",
"!lib/logger.js",
"!lib/fs.js",
"!lib/merge.js",
"!lib/errors.js"
],
"reporters": [
"default",
"jest-junit"
]
},
"dependencies": {
"@bugsnag/js": "^7.25.0",
"bcrypt": "^5.1.1",
"body-parser": "^1.20.2",
"bunyan": "^1.8.15",
"express": "^4.20.0",
"express-promise-router": "^4.1.1",
"express-query-boolean": "^2.0.0",
"lodash": "^4.17.21",
"moment": "^2.30.1",
"morgan": "^1.10.0",
"node-cron": "^3.0.3",
"on-finished": "^2.4.1",
"pg": "^8.11.5",
"prom-client": "^15.1.3",
"request": "^2.88.2",
"request-promise-native": "^1.0.9",
"sequelize": "^6.37.2",
"sequelize-cli": "^6.6.2"
}
}