-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
46 lines (46 loc) · 1.78 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
{
"name": "jest-github-actions",
"version": "1.0.0",
"main": "server/index.js",
"license": "MIT",
"scripts": {
"start:dist": "node ./dist/main.js",
"build": "export ENVIRONMENT_NAME=production && rm -rf dist && webpack --mode production --config webpack/webpack.prod.config.js",
"build:local": "export ENVIRONMENT_NAME=local && rm -rf dist && webpack --mode development --config webpack/webpack.dev.config.js",
"build:production": "export ENVIRONMENT_NAME=production && rm -rf dist && webpack --mode development --config webpack/webpack.prod.config.js",
"start:local": "kill-port 9000 && yarn build:local && node dist/main.js",
"start": "node dist/main.js",
"test": "jest --coverage --ci --testLocationInResults --silent --json --outputFile=\"report.json\" ",
"test:badges": "npm run test && jest-coverage-badges --output './badges'",
"lint": "prettier-standard --lint",
"precommit": "prettier-standard --lint --staged",
"format": "prettier-standard --format",
"lint:staged": "lint-staged"
},
"dependencies": {
"express": "^4.17.1",
"lint-staged": "^11.2.0"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-throw-expressions": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.6",
"@babel/preset-flow": "^7.14.5",
"babel-loader": "^8.2.2",
"jest": "^27.2.4",
"jest-coverage-badges": "^1.1.2",
"jest-sonar": "^0.2.12",
"kill-port": "^1.6.1",
"pre-commit": "^1.2.2",
"prettier-standard": "^16.4.1",
"supertest": "^6.1.6",
"webpack": "^5.56.1",
"webpack-cli": "^4.8.0",
"webpack-hot-middleware": "^2.25.1"
},
"precommit": "lint:staged",
"lint-staged": {
"*": "yarn precommit"
}
}