-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
104 lines (104 loc) · 3.04 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
{
"name": "domain0-ui",
"version": "0.0.3",
"keywords": [
"vite",
"typescript",
"react",
"zustand",
"antd",
"less",
"eslint",
"prettier"
],
"license": "MIT",
"scripts": {
"postinstall": "husky install",
"serve": "npm run dev",
"dev": "vite --mode development",
"build": "vite build",
"build:beta": "vite build --mode beta",
"build:release": "vite build --mode release",
"build:legacy": "vite build --mode legacy ",
"build:deploy": "vite build",
"preview": "vite preview",
"prebuild": "rimraf dist",
"commitlint": "commitlint --from=master",
"lint:fix": "eslint --cache --ext .js,.jsx,.ts,.tsx --no-error-on-unmatched-pattern --quiet --fix ./src",
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
"clean:cache": "rimraf node_modules/.cache/ && rimraf node_modules/.vite",
"stylelint-check": "stylelint-config-prettier-check",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"lint-staged": {
"**/*.{js,jsx,tsx,ts,json}": [
"npm run lint:fix",
"git add --force"
],
"**/*.{less}": [
"npm run lint:style",
"git add --force"
]
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
],
"dependencies": {
"@ant-design/icons": "^5.0.1",
"@ant-design/pro-layout": "^7.10.3",
"ahooks": "^3.7.6",
"antd": "^5.3.3",
"axios": "^1.3.4",
"dayjs": "^1.11.7",
"mockjs": "^1.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.10.0"
},
"devDependencies": {
"@commitlint/cli": "^17.5.1",
"@commitlint/config-conventional": "^17.4.4",
"@types/babel__core": "^7.20.0",
"@types/node": "^18.15.11",
"@types/react": "^18.0.31",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"@vitejs/plugin-legacy": "^4.0.2",
"@vitejs/plugin-react": "^3.1.0",
"autoprefixer": "^10.4.14",
"conventional-changelog-cli": "^2.2.2",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"less": "^4.1.3",
"less-vars-to-js": "^1.3.0",
"lint-staged": "^13.2.0",
"postcss": "^8.4.21",
"pre-commit": "^1.2.2",
"prettier": "^2.8.7",
"rimraf": "^4.4.1",
"rollup-plugin-visualizer": "^5.9.0",
"stylelint": "^15.4.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-recess-order": "^4.0.0",
"stylelint-config-standard": "^32.0.0",
"tailwindcss": "^3.3.1",
"terser": "^5.16.8",
"typescript": "^5.0.3",
"vite": "^4.2.1",
"vite-aliases": "^0.11.0",
"vite-plugin-babel-import": "^2.0.5",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-imp": "^2.3.1",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-style-import": "^2.0.0"
}
}