-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
93 lines (93 loc) · 2.74 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
{
"name": "core",
"version": "1.31.9",
"description": "The core module of my.aegee.eu",
"keywords": [],
"author": "Sergey Peshkov",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"@semantic-release/changelog": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"codecov": "^3.8.1",
"conventional-changelog": "^3.1.24",
"eslint-config-airbnb": "^18.2.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-react": "^7.22.0",
"faker": "^5.4.0",
"husky": "^4.3.8",
"jest": "^26.6.3",
"jest-junit": "^12.0.0",
"lint-staged": "^10.5.4",
"nock": "^13.0.11",
"nyc": "^15.1.0",
"open-cli": "^6.0.1",
"semantic-release": "^17.4.2"
},
"scripts": {
"test": "NODE_ENV=test npm run db:setup && jest test/**/*.test.js --runInBand --forceExit",
"lint": "node_modules/.bin/eslint .",
"lint:fix": "node_modules/.bin/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",
"cli": "node --experimental-repl-await -r ./cli.js",
"open-coverage": "open-cli coverage/lcov-report/index.html"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"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.8.0",
"bcrypt": "^5.0.1",
"body-parser": "^1.19.0",
"bunyan": "^1.8.15",
"eslint": "^7.21.0",
"express": "^4.17.1",
"express-promise-router": "^4.0.1",
"express-query-boolean": "^2.0.0",
"lodash": "^4.17.21",
"moment": "^2.29.1",
"morgan": "^1.9.1",
"node-cron": "^2.0.3",
"on-finished": "^2.3.0",
"pg": "^8.5.1",
"prom-client": "^13.1.0",
"request": "^2.88.2",
"request-promise-native": "^1.0.9",
"sequelize": "^6.5.0",
"sequelize-cli": "^6.2.0"
}
}