feat(01-01): scaffold Vite 6 + React 18 + TypeScript 5 project
- Created Vite 6 project with React 18 and TypeScript 5 template - Installed zod, react-hook-form, @hookform/resolvers (production) - Installed tailwindcss @tailwindcss/vite (Tailwind v4 via Vite plugin) - Installed vitest, @testing-library/react, @testing-library/dom (dev) - Configured Tailwind v4 via @tailwindcss/vite plugin in vite.config.ts - Set src/index.css to @import "tailwindcss" (no postcss/tailwind.config.js) - Created minimal App.tsx with Tailwind classes, .gitignore - Auto-fix (Rule 1): added src/vite-env.d.ts for CSS module type declarations
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"name": "ready2blob",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "tsc -b && vite build",
|
||||
"lint": "eslint .",
|
||||
"preview": "vite preview",
|
||||
"test": "vitest run"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hookform/resolvers": "^5.2.2",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-hook-form": "^7.72.0",
|
||||
"zod": "^4.3.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/vite": "^4.2.2",
|
||||
"@testing-library/dom": "^10.4.1",
|
||||
"@testing-library/react": "^16.3.2",
|
||||
"@types/react": "^18.3.5",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"@vitejs/plugin-react": "^4.7.0",
|
||||
"jsdom": "^29.0.1",
|
||||
"tailwindcss": "^4.2.2",
|
||||
"typescript": "^5.5.3",
|
||||
"vite": "^6.0.0",
|
||||
"vitest": "^4.1.1"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user