Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 1.89 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 1.89 KB
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
{
"name": "react",
"version": "0.1.0",
"private": true,
"description": "node >= 8.1",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {
"antd": "^4.4.1",
"axios": "^0.19.2",
"echarts": "^4.8.0",
"echarts-for-react": "^2.0.16",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"node-sass": "^4.14.1",
"prettier": "^2.0.5",
"qs": "^6.9.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.1"
},
"lint-staged": {
"src/**/*.{js,jsx}": [
"npm run lint",
"git add"
]
},
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint -c .eslintrc.json --fix --ext .js,.jsx ./src",
"commit": "git-cz",
"analyze": "source-map-explorer build/static/js/main.*",
"advanced-analyze": "set ANALYZE_REPORT=true && npm run build",
"cloc": "cloc ./src"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all",
"ie 11"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version",
"ie 11"
]
},
"proxy": "http://10.28.109.46:8888",
"devDependencies": {
"babel-plugin-import": "^1.13.0",
"classnames": "^2.2.6",
"cloc": "^2.5.1",
"commitizen": "^4.1.2",
"customize-cra": "^1.0.0",
"cz-conventional-changelog": "^3.2.0",
"less": "^3.11.3",
"less-loader": "^6.2.0",
"progress-bar-webpack-plugin": "^2.1.0",
"react-app-rewired": "^2.1.6",
"source-map-explorer": "^2.4.2",
"webpack-bundle-analyzer": "^3.8.0"
}
}