forked from sankeyangshu/react-template-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 2.9 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
{
"name": "react-template-admin",
"version": "0.0.1",
"description": "使用 React + TS 构建的后台管理系统",
"author": "sankeyangshu",
"license": "MIT",
"private": true,
"scripts": {
"dev": "vite",
"build:dev": "tsc && vite build --mode development",
"build:prod": "tsc && vite build --mode production",
"build:test": "tsc && vite build --mode test",
"preview": "vite preview",
"lint:lint-staged": "lint-staged",
"lint:eslint": "eslint \"src/**/*.{js,jsx,ts,tsx}\" --fix",
"lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,ts,json,jsx,tsx,css,less,scss,html,md}\"",
"lint:stylelint": "stylelint --cache --fix \"**/*.{less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sankeyangshu/react-template-admin.git"
},
"keywords": [
"react",
"typescript",
"admin"
],
"bugs": {
"url": "https://github.com/sankeyangshu/react-template-admin/issues"
},
"homepage": "https://github.com/sankeyangshu/react-template-admin#readme",
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [
"prettier --write--parser json"
],
"package.json": [
"prettier --write"
],
"*.{scss,less,styl}": [
"stylelint --fix",
"prettier --write"
],
"*.md": [
"prettier --write"
]
},
"dependencies": {
"@ant-design/icons": "^5.1.0",
"ahooks": "^3.7.7",
"antd": "^5.5.1",
"axios": "^1.4.0",
"dayjs": "^1.11.7",
"fuse.js": "^6.6.2",
"i18next": "^22.5.0",
"path-browserify": "^1.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^12.3.1",
"react-router-dom": "^6.11.2",
"screenfull": "^6.0.2",
"zustand": "^4.3.8"
},
"devDependencies": {
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"@types/node": "^20.2.3",
"@types/path-browserify": "^1.0.0",
"@types/react": "^18.2.6",
"@types/react-dom": "^18.2.4",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"@vitejs/plugin-react": "^4.0.0",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.3.4",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.0",
"less": "^4.1.3",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"stylelint": "^15.9.0",
"stylelint-config-recess-order": "^4.2.0",
"stylelint-config-standard": "^33.0.0",
"stylelint-less": "^1.0.7",
"typescript": "^5.0.2",
"vite": "^4.3.2",
"vite-plugin-svg-icons": "^2.0.1"
}
}