-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 2.81 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",
"private": true,
"version": "0.1.0",
"type": "module",
"description": "使用 React + TS 构建的基础项目模版",
"author": "sankeyangshu",
"license": "MIT",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint:lint-staged": "lint-staged",
"lint:eslint": "eslint --max-warnings 0 \"src/**/*.{js,jsx,ts,tsx}\" --fix",
"lint:prettier": "prettier --write --loglevel warn \"src/**/*.{js,ts,json,jsx,tsx,css,less,scss,vue,html,md}\"",
"lint:stylelint": "stylelint --cache --fix \"**/*.{less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
"preview": "vite preview",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sankeyangshu/react-template.git"
},
"keywords": [
"react",
"typescript"
],
"bugs": {
"url": "https://github.com/sankeyangshu/react-template/issues"
},
"homepage": "https://github.com/sankeyangshu/react-template#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"
]
},
"engines": {
"node": ">=18.12.0",
"pnpm": ">=9.0.2"
},
"dependencies": {
"axios": "^1.7.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.23.1",
"react-vant": "^3.3.5",
"zustand": "^4.5.2"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@iconify/react": "^5.0.1",
"@types/node": "^20.14.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"@unocss/preset-rem-to-px": "^0.61.0",
"@vitejs/plugin-react": "^4.3.1",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"eslint-plugin-simple-import-sort": "^12.1.0",
"husky": "^9.1.1",
"less": "^4.2.0",
"lint-staged": "^15.2.7",
"postcss": "^8.4.38",
"postcss-mobile-forever": "^4.1.4",
"prettier": "^3.3.2",
"stylelint": "^16.6.1",
"stylelint-config-recess-order": "^5.0.1",
"stylelint-config-standard": "^36.0.0",
"stylelint-less": "^3.0.1",
"stylelint-prettier": "^5.0.0",
"typescript": "^5.4.5",
"unocss": "^0.61.0",
"vite": "^5.3.1",
"vite-plugin-svg-icons": "^2.0.1"
}
}