feat: initialize frontend project with Vite, React, and TypeScript

- Added components.json for component configuration
- Created eslint.config.js for ESLint setup with TypeScript and React
- Added index.html as the main entry point
- Initialized package.json with dependencies and scripts for development
- Included Vite logo SVG in public directory
- Created basic App component in src/App.tsx
- Added React logo SVG in assets directory
- Implemented Button component with variants in src/components/ui/button.tsx
- Set up Tailwind CSS in src/index.css
- Created utility functions for class names in src/lib/utils.ts
- Configured main entry point in src/main.tsx
- Added TypeScript environment definitions in vite-env.d.ts
- Created tsconfig files for application and node configurations
- Configured Vite with React and Tailwind CSS in vite.config.ts
This commit is contained in:
JSC
2025-07-10 20:53:12 +02:00
commit 8fe6ee937b
21 changed files with 1070 additions and 0 deletions

40
package.json Normal file
View File

@@ -0,0 +1,40 @@
{
"name": "frontend",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite --port 3000",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview"
},
"dependencies": {
"@radix-ui/react-slot": "^1.2.3",
"@tailwindcss/vite": "^4.1.11",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^0.525.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-router": "^7.6.3",
"tailwind-merge": "^3.3.1",
"tailwindcss": "^4.1.11"
},
"devDependencies": {
"@eslint/js": "^9.21.0",
"@types/node": "^24.0.12",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@vitejs/plugin-react-swc": "^3.8.0",
"eslint": "^9.21.0",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.19",
"globals": "^15.15.0",
"prettier": "^3.6.2",
"tw-animate-css": "^1.3.5",
"typescript": "~5.7.2",
"typescript-eslint": "^8.24.1",
"vite": "^6.2.0"
}
}