feat: scaffold frontend (Vite + React + Vitest)

- Añade scaffold de frontend con Vite y React
- Configura Vitest y tests básicos (App, Navbar)
- Añade QueryClient y hooks/plantillas iniciales
This commit is contained in:
2026-02-09 20:22:24 +01:00
parent 79c42fad55
commit 08aca0fd5b
27 changed files with 3171 additions and 215 deletions

34
frontend/package.json Normal file
View File

@@ -0,0 +1,34 @@
{
"name": "quasar-frontend",
"version": "0.0.0",
"private": true,
"packageManager": "yarn@4.12.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"test": "vitest",
"test:run": "vitest run",
"lint": "echo \"No lint configured\"",
"format": "prettier --write ."
},
"dependencies": {
"@tanstack/react-query": "^4.34.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.0.0",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.0.0",
"autoprefixer": "^10.4.14",
"jsdom": "^22.1.0",
"postcss": "^8.4.24",
"tailwindcss": "^3.4.7",
"typescript": "^5.2.2",
"vite": "^5.1.0",
"vitest": "^0.34.1"
}
}