Files
food-add-edu/package.json
T
zhongyidian 33121e3f6d feat: 更新样式管理和依赖配置
- 移除旧的 CSS 文件,改用 Tailwind CSS 进行样式管理
- 更新 tsconfig 和 Vite 配置以支持路径别名
- 添加 Node 类型定义以增强 TypeScript 支持
2026-01-23 17:41:02 +08:00

41 lines
967 B
JSON

{
"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": {
"*.{js,jsx,ts,tsx,json}": "bunx biome check --write",
"*.{css,module.css}": "echo 'Skipping CSS files'"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router-dom": "^7.12.0",
"tailwind-merge": "^3.4.0"
},
"devDependencies": {
"@biomejs/biome": "2.3.11",
"@tailwindcss/postcss": "^4.1.18",
"@types/node": "^25.0.10",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.23",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.18",
"typescript": "~5.7.2",
"vite": "^6.2.0"
}
}