forked from zhongyidian/yx-react-template
feat: 初始化项目结构并添加基本配置
- 新增 Vite、React 和 TypeScript 的基础模板 - 添加 ESLint 和 Husky 进行代码检查和提交钩子 - 创建基本的 HTML、CSS 和 TypeScript 文件 - 配置 tsconfig 和 Vite 相关文件
This commit is contained in:
commit
e348e16170
20 files changed
+782
No files matched your search
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"name": "eco-steps",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "tsc -b && vite build",
|
||||
"lint": "biome check .",
|
||||
"lint:fix": "biome check --write .",
|
||||
"preview": "vite preview",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*": "bunx biome check --write"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^19.0.0",
|
||||
"react-dom": "^19.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "2.3.11",
|
||||
"@types/react": "^19.0.10",
|
||||
"@types/react-dom": "^19.0.4",
|
||||
"@vitejs/plugin-react": "^4.3.4",
|
||||
"husky": "^9.1.7",
|
||||
"lint-staged": "^16.2.7",
|
||||
"typescript": "~5.7.2",
|
||||
"vite": "^6.2.0"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user