feat(frontend): bootstrap React + Vite + Tailwind + Router + Layout

This commit is contained in:
2026-05-20 21:10:27 +02:00
parent 4a382b5dd7
commit 480ee15df9
12 changed files with 3243 additions and 1 deletions

View File

@@ -0,0 +1,37 @@
{
"name": "@flashcard/frontend",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc --noEmit && vite build",
"preview": "vite preview",
"typecheck": "tsc --noEmit",
"test": "vitest run"
},
"dependencies": {
"@flashcard/shared": "*",
"canvas-confetti": "^1.9.0",
"framer-motion": "^11.0.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"react-router-dom": "^6.26.0",
"zustand": "^4.5.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^16.0.0",
"@types/canvas-confetti": "^1.6.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.0",
"autoprefixer": "^10.4.0",
"jsdom": "^25.0.0",
"postcss": "^8.4.0",
"tailwindcss": "^3.4.0",
"typescript": "^5.5.0",
"vite": "^7.0.0",
"vitest": "^2.0.0"
}
}