-
Notifications
You must be signed in to change notification settings - Fork 46
/
package.json
40 lines (40 loc) · 1.25 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
{
"devDependencies": {
"babel-eslint": "^10.1.0",
"clean-webpack-plugin": "^1.0.1",
"copy-webpack-plugin": "^4.6.0",
"css-loader": "^2.1.0",
"eslint": "^6.8.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^4.3.7",
"inline-manifest-webpack-plugin": "^4.0.2",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"uglifyjs-webpack-plugin": "1.1.6",
"webpack": "^4.30.0",
"webpack-cli": "^3.2.3",
"webpack-dev-server": "^3.1.14",
"webpack-merge": "^4.2.1"
},
"dependencies": {
"axios": "^0.18.0",
"chalk": "^2.4.2",
"jsonfile": "^5.0.0",
"moment": "^2.24.0",
"socket.io-client": "^3.0.4"
},
"scripts": {
"add": "npm install && npm --prefix src/server install && npm --prefix admin install",
"start": "npm run build && NODE_ENV=development webpack-dev-server --host 0.0.0.0 --open --hot --config build/webpack.config.js",
"build": "npm --prefix admin run build && NODE_ENV=production webpack --config build/webpack.config.js",
"serve": "cd src/server && NODE_ENV=development node app.js",
"lint": "eslint ."
},
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm run lint"
}
}
}