-
Notifications
You must be signed in to change notification settings - Fork 90
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·90 lines (90 loc) · 2.49 KB
/
package.json
File metadata and controls
executable file
·90 lines (90 loc) · 2.49 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
81
82
83
84
85
86
87
88
89
90
{
"name": "gin-admin-react",
"version": "3.0.0",
"description": "RBAC权限管理脚手架",
"private": true,
"scripts": {
"start": "umi dev",
"start:no-mock": "cross-env MOCK=none umi dev",
"analyze": "cross-env ANALYZE=1 umi build",
"build": "umi build",
"lint:style": "stylelint \"src/**/*.less\" --syntax less",
"lint": "eslint --ext .js src && npm run lint:style",
"lint:fix": "eslint --fix --ext .js src && npm run lint:style",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --ext .js"
},
"dependencies": {
"@ant-design/compatible": "^1.0.2",
"@ant-design/icons": "^4.0.6",
"antd": "^4.1.2",
"axios": "^0.18.0",
"classnames": "^2.2.5",
"history": "^4.7.2",
"lodash": "^4.17.10",
"lodash-decorators": "^6.0.0",
"md5": "^2.2.1",
"moment": "^2.19.3",
"path-to-regexp": "^2.4.0",
"prop-types": "^15.5.10",
"qs": "^6.5.0",
"react": "^16.13.1",
"react-container-query": "^0.11.0",
"react-document-title": "^2.0.3",
"setprototypeof": "^1.1.0",
"url-polyfill": "^1.0.10",
"uuid": "^3.3.2",
"yarn-check": "^0.0.3"
},
"devDependencies": {
"@types/react": "^16.7.7",
"@types/react-dom": "^16.0.10",
"@typescript-eslint/eslint-plugin": "^1.12.0",
"babel-eslint": "^10.0.1",
"cross-env": "^5.1.1",
"cross-port-killer": "^1.0.1",
"eslint": "6.0.1",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-prettier": "6.0.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-compat": "3.3.0",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^22.11.1",
"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",
"prettier": "1.18.2",
"stylelint": "^9.8.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": "^3",
"@umijs/preset-react": "^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"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
],
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
}
}