-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathpackage.json
87 lines (87 loc) · 2.35 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
{
"name": "umi-mobile-template",
"version": "1.0.0",
"description": "umi移动端模板项目",
"private": true,
"scripts": {
"start": "cross-env PORT=8099 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",
"tslint": "npm run tslint:fix",
"tslint:fix": "tslint --fix 'src/**/*.ts*'",
"lint-staged:js": "eslint --ext .js",
"precommit": "lint-staged",
"prettier": "node ./scripts/prettier.js"
},
"dependencies": {
"antd-mobile": "^2.2.5",
"better-scroll": "^1.13.2",
"dva": "^2.4.0",
"enzyme": "^3.4.4",
"glob": "^7.1.3",
"hash.js": "^1.1.5",
"nprogress": "^0.2.0",
"prop-types": "^15.5.10",
"qs": "^6.5.2",
"react": "^16.5.1"
},
"optionalDependencies": {
"puppeteer": "^1.9.0"
},
"devDependencies": {
"@babel/polyfill": "^7.0.0",
"babel-eslint": "^9.0.0",
"chalk": "^2.4.2",
"check-prettier": "^1.0.1",
"cross-env": "^5.1.1",
"eslint": "^5.4.0",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-prettier": "^3.0.1",
"eslint-config-umi": "^0.1.5",
"eslint-plugin-babel": "^5.1.0",
"eslint-plugin-compat": "^2.5.1",
"eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-markdown": "^1.0.0-beta.6",
"eslint-plugin-react": "^7.11.1",
"husky": "^0.14.3",
"lint-staged": "^7.2.2",
"prettier": "1.14.2",
"stylelint": "^9.4.0",
"stylelint-config-prettier": "^4.0.0",
"stylelint-config-standard": "^18.0.0",
"tslint": "^5.10.0",
"tslint-config-prettier": "^1.10.0",
"tslint-react": "^3.6.0",
"umi": "^2.4.4",
"umi-plugin-react": "^1.4.2"
},
"lint-staged": {
"**/*.{js,jsx,less}": [
"node ./scripts/lint-prettier.js",
"git add"
],
"**/*.{js,jsx}": "npm run lint-staged:js",
"**/*.less": "stylelint --syntax less"
},
"engines": {
"node": ">=8.0.0"
},
"checkFiles": [
"src/**/*.js*",
"src/**/*.ts*",
"src/**/*.less",
"config/**/*.js*",
"scripts/**/*.js"
],
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
}
}