-
Notifications
You must be signed in to change notification settings - Fork 200
/
package.json
101 lines (101 loc) · 2.72 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
{
"private": true,
"workspaces": [
"AccountCenter",
"AccountSettings",
"DashboardAnalysis",
"DashboardMonitor",
"DashboardWorkplace",
"EditorFlow",
"EditorKoni",
"EditorMind",
"EmptyPage",
"Exception403",
"Exception404",
"Exception500",
"FormAdvancedForm",
"FormBasicForm",
"FormStepForm",
"ListBasicList",
"ListCardList",
"ListSearch",
"ListSearchApplications",
"ListSearchArticles",
"ListSearchProjects",
"ListTableList",
"ProfileAdvanced",
"ProfileBasic",
"ResultFail",
"ResultSuccess",
"UserRegister",
"UserRegisterResult"
],
"scripts": {
"postinstall": "umi g tmp",
"lint": "npm run lint:js && npm run lint:style && npm run lint:prettier && tsc --noEmit",
"lint-staged": "lint-staged && node ./.script/genBlockConfig.js&& git add ./umi-block.json",
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./ && npm run lint:style",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./",
"lint:prettier": "prettier --check \"**/*\" --end-of-line auto",
"lint:style": "stylelint --fix \"**/*.less\" --syntax less",
"prettier": "prettier -c --write \"**/*\"",
"screenshot": "pro screenshot",
"start": "umi dev",
"test": "umi test"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"lint-staged": {
"**/*.less": "stylelint --syntax less",
"**/*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write",
"git add"
],
"**/*.{js,jsx}": "npm run lint-staged:js",
"**/*.{js,ts,tsx}": "npm run lint-staged:js"
},
"resolutions": {
"prettier": "^2.0.2",
"typescript": "^4.0.0"
},
"dependencies": {
"@ant-design/icons": "^4.0.0",
"@ant-design/pro-cli": "^1.0.5",
"@ant-design/pro-layout": "^6.0.0",
"@types/express": "^4.17.13",
"antd": "^4.0.0",
"bizcharts": "^3.5.4",
"numeral": "^2.0.6",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"umi": "^3.1.1"
},
"devDependencies": {
"@types/classnames": "^2.2.7",
"@types/numeral": "^0.0.28",
"@types/react-dom": "^16.8.4",
"@umijs/fabric": "^2.0.0",
"@umijs/plugin-block-devtool": "^1.1.1",
"@umijs/preset-ant-design-pro": "^1.1.2",
"@umijs/preset-react": "^1.4.3",
"cross-env": "^7.0.0",
"eslint": "^7.20.0",
"husky": "^4.0.1",
"lint-staged": "^10.0.1",
"mockjs": "^1.1.0",
"prettier": "^2.0.2",
"prettier-plugin-jsdoc": "^0.2.13",
"prettier-plugin-style-order": "^0.2.2",
"stylelint": "^13.0.0",
"typescript": "^4.0.0"
},
"checkFiles": [
"**/*.ts*",
"**/*.less",
"**/*.md"
]
}