- Added package.json with dependencies for React, Vite, TypeScript, and ESLint. - Included Vite logo SVG and React logo SVG in the public and assets directories respectively. - Created main application component (App.tsx) with basic structure and state management. - Added global styles in index.css and component-specific styles in App.css. - Configured TypeScript with tsconfig files for app and node environments. - Set up Vite configuration for development server with specified host and port.
30 lines
723 B
JSON
30 lines
723 B
JSON
{
|
|
"name": "client",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"start": "vite --host 0.0.0.0 --port 5001",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.30.1",
|
|
"@types/react": "^19.1.8",
|
|
"@types/react-dom": "^19.1.6",
|
|
"@vitejs/plugin-react": "^4.6.0",
|
|
"eslint": "^9.30.1",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
"globals": "^16.3.0",
|
|
"typescript": "~5.8.3",
|
|
"typescript-eslint": "^8.35.1",
|
|
"vite": "^7.0.4"
|
|
}
|
|
} |