-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 2.84 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "starter-frontend",
"version": "0.1.0",
"private": true,
"description": "Create a application quickly with umi & dva",
"scripts": {
"analyze": "cross-env ANALYZE=1 umi build",
"build": "umi build",
"lint": "eslint --ext .js src tests && npm run lint:style",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --ext .js",
"lint:fix": "eslint --fix --ext .js src tests && stylelint --fix 'src/**/*.scss' --syntax scss",
"lint:style": "stylelint 'src/**/*.scss' --syntax scss",
"start": "umi dev",
"test": "umi test",
"test:all": "node ./tests/run-tests.js"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"lint-staged": {
"**/*.less": "stylelint --syntax less",
"**/*.{js,jsx}": "npm run lint-staged:js",
"**/*.{js,ts,tsx,json,jsx,less}": [
"git add"
]
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
],
"dependencies": {
"@antv/data-set": "^0.10.1",
"ant-design-pro": "^2.1.1",
"antd": "^3.10.9",
"classnames": "^2.2.6",
"dva": "^2.4.0",
"lodash": "^4.17.10",
"lodash-decorators": "^6.0.0",
"memoize-one": "^4.0.0",
"moment": "^2.22.2",
"node-sass": "^4.12.0",
"numeral": "^2.0.6",
"nzh": "^1.0.4",
"omit.js": "^1.0.2",
"path-to-regexp": "^2.4.0",
"prop-types": "^15.5.10",
"qs": "^6.7.0",
"rc-animate": "^2.4.4",
"react": "^16.6.3",
"react-container-query": "^0.11.0",
"react-cookie": "^3.1.2",
"react-copy-to-clipboard": "^5.0.1",
"react-document-title": "^2.0.3",
"react-dom": "^16.8.6",
"react-media": "^1.8.0",
"sass-loader": "^7.1.0",
"umi-plugin-react": "^1.3.0-0",
"umi-request": "^1.0.0"
},
"devDependencies": {
"babel-eslint": "^10.0.1",
"cross-env": "^5.1.1",
"cross-port-killer": "^1.0.1",
"dotenv": "^7.0.0",
"eslint": "^5.4.0",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-compat": "^2.6.2",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-markdown": "^1.0.0-beta.6",
"eslint-plugin-react": "^7.11.1",
"husky": "^1.2.0",
"lint-staged": "^8.1.0",
"merge-umi-mock-data": "^1.0.4",
"stylelint": "^9.8.0",
"stylelint-config-css-modules": "^1.3.0",
"stylelint-config-rational-order": "^0.1.0",
"stylelint-config-standard": "^18.2.0",
"stylelint-declaration-block-no-ignored-properties": "^2.1.0",
"stylelint-order": "^2.0.0",
"umi": "^2.6.16",
"umi-plugin-pro-block": "^1.2.0"
},
"optionalDependencies": {
"puppeteer": "^1.12.1"
},
"engines": {
"node": ">=8.0.0"
},
"checkFiles": [
"src/**/*.js*",
"src/**/*.ts*",
"src/**/*.less",
"config/**/*.js*",
"scripts/**/*.js"
]
}