-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.4 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
{
"name": "acgnfuns",
"version": "1.0.0",
"description": "次元饭",
"private": true,
"scripts": {
"start": "cross-env MOCK=none PORT=8090 umi dev",
"mock": "cross-env PORT=8090 umi dev",
"build": "umi build",
"test": "umi test",
"analyze": "cross-env ANALYZE=1 umi build",
"lint": "eslint --ext .js src && npm run lint:style",
"lint:style": "stylelint \"src/**/*.less\" --syntax less",
"lint:fix": "eslint --fix --ext .js src && npm run lint:style",
"lint-staged:js": "eslint --ext .js",
"precommit": "lint-staged",
"prettier": "prettier --write ./src/**/**/**/*"
},
"dependencies": {
"antd-mobile": "^2.2.8",
"dva": "^2.4.1",
"dva-model-persist": "^1.0.0",
"dva-redux-persist": "^1.0.3",
"enzyme": "^3.8.0",
"hash.js": "^1.1.7",
"history": "^4.7.2",
"merge-umi-mock-data": "0.0.3",
"mockjs": "^1.0.1-beta3",
"moment": "^2.23.0",
"nprogress": "^0.2.0",
"nzh": "^1.0.4",
"prop-types": "^15.6.2",
"qs": "^6.6.0",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-keeper": "^2.1.9",
"react-router-alive": "^1.0.0-beta.5",
"react-router-cache-route": "^1.3.1",
"redux": "^4.0.1",
"redux-persist": "^5.10.0",
"redux-persist-crosstab": "^3.7.0",
"regex": "^0.1.1",
"umi-history": "^0.1.2"
},
"optionalDependencies": {
"puppeteer": "^1.11.0"
},
"devDependencies": {
"@babel/polyfill": "^7.2.5",
"babel-eslint": "^10.0.1",
"cross-env": "^5.2.0",
"eslint": "^5.11.1",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^3.3.0",
"eslint-config-umi": "^1.3.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-compat": "^2.6.3",
"eslint-plugin-flowtype": "^3.2.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-markdown": "^1.0.0-rc.0",
"eslint-plugin-react": "^7.12.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.0",
"prettier": "1.15.3",
"react-live-route": "^1.2.4",
"stylelint": "^9.9.0",
"stylelint-config-prettier": "^4.0.0",
"stylelint-config-standard": "^18.2.0",
"umi": "^2.3.1",
"umi-plugin-react": "^1.3.1"
},
"lint-staged": {
"**/*.{js,jsx,less}": [
"prettier --write",
"git add"
],
"**/*.{js,jsx}": "npm run lint-staged:js",
"**/*.less": "stylelint --syntax less"
},
"engines": {
"node": ">=8.0.0"
}
}