-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 2.61 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 2.61 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
91
92
93
94
95
96
{
"name": "ims",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"lint:eslint": "eslint \"{src,mock,build}/**/*.{ts,js,tsx,jsx,vue}\" --fix",
"lint:prettier": "prettier . --write",
"lint:staged": "lint-staged",
"lint:commit": "commitlint --from=master",
"lint:style": "stylelint src/**/*.{less,scss} --fix --custom-syntax postcss",
"preview": "vite preview",
"prepare": "husky install",
"cz": "git-cz"
},
"dependencies": {
"@ant-design/icons": "^5.5.1",
"@reduxjs/toolkit": "^2.3.0",
"ahooks": "^3.8.1",
"antd": "^5.21.4",
"axios": "^1.7.7",
"classnames": "^2.5.1",
"lodash": "^4.17.21",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-intl": "^6.8.0",
"react-redux": "^9.1.2",
"react-router-dom": "^6.27.0",
"redux-persist": "^6.0.0"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@eslint/js": "^9.17.0",
"@types/lodash": "^4.17.12",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@types/styled-components": "^5.1.34",
"@unocss/preset-attributify": "^0.64.0",
"@unocss/transformer-attributify-jsx": "^0.64.0",
"@vitejs/plugin-react": "^4.3.4",
"commitizen": "^4.3.1",
"cz-git": "^1.10.1",
"eslint": "^9.17.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.16",
"globals": "^15.14.0",
"husky": "^9.1.6",
"less": "^4.2.0",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"styled-components": "^6.1.13",
"stylelint": "^16.10.0",
"stylelint-config-css-modules": "^4.4.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-recommended": "^14.0.1",
"typescript": "~5.6.2",
"typescript-eslint": "^8.18.2",
"unocss": "^0.64.0",
"vite": "^6.0.5",
"vite-plugin-fake-server": "^2.1.2",
"vite-plugin-pwa": "^0.20.5",
"vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-svgr": "^4.3.0"
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"{src,mock,build}/**/*.{ts,js,tsx,jsx,vue}": [
"eslint --fix",
"prettier --write"
],
"*.ts?(x)": [
"prettier --cache --parser=typescript --write"
],
"*.{css,less,scss,sass}": [
"stylelint --fix",
"prettier --write"
],
"*.{md,json}": [
"prettier --write"
]
}
}