-
Notifications
You must be signed in to change notification settings - Fork 51
/
package.json
71 lines (71 loc) · 2.22 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
{
"private": true,
"scripts": {
"build": "webpack",
"start": "npm run buildLocale && webpack -w --mode development",
"preProd": "webpack -w --mode production --env preProd",
"prod": "npm run checkFormat && npm run buildLocale && webpack --mode production --env prod",
"buildLocale": "node ./scripts/buildLocale.js",
"lint": "eslint --ext .js src test",
"format": "prettier --write 'src/**/*.{js, jsx, ts, tsx}'",
"checkFormat": "prettier --check 'src/**/*.{js, jsx, ts, tsx}'",
"lint-staged": "lint-staged",
"lint:commit": "npx eslint ."
},
"dependencies": {
"@fortawesome/fontawesome": "^1.1.8",
"@fortawesome/fontawesome-free-solid": "^5.0.13",
"@fortawesome/react-fontawesome": "0.0.20",
"antd": "^3.10.3",
"babel-loader": "^7.1.4",
"dva": "^2.3.1",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-fontawesome": "^1.6.1",
"redux-actions": "^2.4.0",
"regenerator-runtime": "^0.12.0",
"reselect": "^3.0.1",
"socket.io-client": "^2.1.1",
"styled-components": "^3.3.2",
"webpack": "^4.12.0"
},
"devDependencies": {
"babel-core": "^6.25.0",
"babel-eslint": "^8.2.5",
"babel-loader": "^7.1.2",
"babel-plugin-transform-es2015-destructuring": "^6.23.0",
"babel-plugin-transform-es2015-parameters": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.16.0",
"babel-register": "^6.26.0",
"copy-webpack-plugin": "^4.5.1",
"eslint": "^4.14.0",
"eslint-config-umi": "^0.1.1",
"eslint-plugin-flowtype": "^2.34.1",
"eslint-plugin-import": "^2.6.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.1.0",
"file-loader": "^1.1.11",
"husky": "^0.12.0",
"lint-staged": "^8.1.0",
"pre-commit": "^1.2.2",
"prettier": "^1.18.2",
"redbox-react": "^1.4.3",
"uglifyjs-webpack-plugin": "^1.2.7",
"url-loader": "^1.0.1",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-cli": "^3.0.8",
"yamljs": "^0.3.0"
},
"pre-commit": [
"lint-staged"
],
"lint-staged": {
"*.{js,css}": [
"node ./scripts/prettier.js",
"git add"
]
}
}