-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 3.28 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"private": true,
"scripts": {
"build": "umi build",
"build:prod": "cross-env UMI_ENV=prod umi build",
"lint:es": "eslint --ext .js src mock tests",
"lint:ts": "tslint \"src/**/*.ts\" \"src/**/*.tsx\"",
"start": "umi dev",
"start:nomock": "cross-env MOCK=none umi dev",
"test": "umi test"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -e $GIT_PARAMS"
}
},
"lint-staged": {
"ignore": [
"node_modules/**"
],
"linters": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.{js,jsx}": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.less": [
"stylelint --syntax less",
"prettier --write",
"git add"
]
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"ant-design-pro": "^2.3.1",
"antd": "^3.26.15",
"axios": "^0.18.0",
"classnames": "2.2.6",
"dva": "^2.6.0-beta.6",
"dva-model-creator": "^0.3.0",
"dva-model-extend": "^0.1.2",
"lodash": "^4.17.11",
"md5": "^2.2.1",
"moment": "^2.24.0",
"nprogress": "^0.2.0",
"path-to-regexp": "^3.0.0",
"prop-types": "^15.7.0",
"qs": "^6.6.0",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-helmet": "^5.2.0",
"react-image": "^2.4.0",
"react-perfect-scrollbar": "^1.4.4",
"slash2": "^2.0.0",
"store": "^2.0.12"
},
"devDependencies": {
"@angular/compiler": "^8.2.2",
"@angular/core": "^8.2.2",
"@commitlint/cli": "^8.0.0",
"@commitlint/config-conventional": "^8.0.0",
"@types/express": "^4.17.1",
"@types/jest": "^23.3.12",
"@types/lodash": "^4.14.138",
"@types/mockjs": "^1.0.2",
"@types/qs": "^6.5.3",
"@types/react": "^16.7.18",
"@types/react-dom": "^16.0.11",
"@types/react-test-renderer": "^16.0.3",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"babel-eslint": "^10.0.2",
"babel-plugin-transform-remove-console": "^6.9.4",
"commitizen": "^3.1.1",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^5.4.0",
"eslint-config-prettier": "^4.1.0",
"eslint-config-standard": "^12.0.0",
"eslint-config-umi": "^1.4.0",
"eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-react": "^7.11.1",
"eslint-plugin-standard": "^4.0.0",
"husky": "^1.3.1",
"jest-canvas-mock": "^2.1.0",
"lint-staged": "^7.2.2",
"mockjs": "^1.0.1-beta3",
"postcss-px-to-viewport": "^1.1.0",
"prettier": "^1.16.0",
"react-test-renderer": "^16.7.0",
"stylelint": "^9.10.0",
"stylelint-config-prettier": "^5.0.0",
"stylelint-config-standard": "^18.2.0",
"tslint": "^5.12.0",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-react": "^3.6.0",
"umi": "^2.7.0",
"umi-plugin-react": "^1.8.0",
"umi-types": "^0.3.0"
},
"optionalDependencies": {},
"engines": {
"node": ">=8.0.0"
}
}