-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
85 lines (85 loc) · 2.64 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
{
"name": "ice-vitepack-project",
"version": "0.1.0",
"description": "Ant Design and icejs, use TypeScript.",
"scripts": {
"start": "cross-env MODE=vite icejs start --config config/build.config.js --mode vite",
"build": "cross-env MODE=webpack icejs build --config config/build.config.js --mode webpack",
"server": "node server.js",
"update-plugin": "cd config/plugin-config && yarn build && cd .. && yarn add -D ./config/plugin-config",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx",
"lint": "npm run eslint && npm run stylelint",
"eslint": "eslint --cache --ext .js,.jsx ./",
"stylelint": "stylelint ./**/*.scss",
"ts-check-error": "tsc --version & tsc --noEmit"
},
"dependencies": {
"@ant-design/icons": "^4.0.2",
"@ant-design/pro-layout": "^6.5.1",
"ahooks": "^3.1.3",
"antd": "^4.18.2",
"classnames": "^2.3.1",
"dva": "^2.4.1",
"dva-loading": "^3.0.22",
"echarts": "^5.2.2",
"http-proxy-middleware": "^2.0.1",
"lodash": "^4.17.21",
"moment": "^2.29.1",
"monaco-editor": "^0.31.1",
"monaco-editor-webpack-plugin": "^7.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-intl": "^5.24.3",
"react-monaco-editor": "^0.46.0",
"react-redux": "^7.2.6",
"react-router": "^5.2.0",
"react-router-config": "^5.1.1",
"react-router-dom": "^5.2.0",
"redux-saga": "^1.1.3"
},
"devDependencies": {
"@iceworks/spec": "^1.0.1",
"@types/react": "^17.0.14",
"@types/react-dom": "^17.0.9",
"@types/react-redux": "^7.1.22",
"@types/react-router-dom": "^5.3.3",
"@umijs/fabric": "^2.10.0",
"build-plugin-antd": "^0.1.2",
"build-plugin-ignore-style": "^0.1.0",
"build-plugin-moment-locales": "^0.1.3",
"connect-history-api-fallback": "^1.6.0",
"cross-env": "^7.0.3",
"eslint": "^7.30.0",
"express": "^4.17.2",
"husky": "^3.1.0",
"ice.js": "^2.0.0",
"lint-staged": "^9.5.0",
"stylelint": "^13.1.0",
"typescript": "^4.5.5",
"vite-plugin-monaco-editor": "^1.0.10"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged && npm run ts-check-error"
}
},
"lint-staged": {
"**/*.less": [
"stylelint --fix --syntax less",
"git add"
],
"**/*.{js,jsx,tsx,ts,less,json}": [
"prettier --write",
"git add"
],
"**/*.{js,jsx}": "npm run lint-staged:js",
"**/*.{js,ts,tsx}": "npm run lint-staged:js"
},
"repository": {
"type": "git",
"url": "https://github.com/ice-lab/react-materials/tree/master/scaffolds/antd-lite"
},
"private": true,
"originTemplate": "@icedesign/ice-antd-scaffold"
}