feat: initialize libertas-frontend project with Vite and React
- Add ESLint configuration for TypeScript and React. - Create index.html as the entry point for the application. - Set up package.json with scripts for development, build, linting, and preview. - Include Vite logo SVG in the public directory. - Add App.css for styling the application. - Implement main App component in App.tsx with basic functionality. - Add React logo SVG to assets. - Create global styles in index.css. - Set up main entry point in main.tsx. - Configure TypeScript with tsconfig files for app and node environments. - Create Vite configuration file for React integration.
This commit is contained in:
31
libertas-frontend/package.json
Normal file
31
libertas-frontend/package.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"name": "libertas-frontend",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "tsc -b && vite build",
|
||||
"lint": "eslint .",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^19.2.0",
|
||||
"react-dom": "^19.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.39.1",
|
||||
"@types/node": "^24.10.0",
|
||||
"@types/react": "^19.2.2",
|
||||
"@types/react-dom": "^19.2.2",
|
||||
"@vitejs/plugin-react": "^5.1.0",
|
||||
"babel-plugin-react-compiler": "^1.0.0",
|
||||
"eslint": "^9.39.1",
|
||||
"eslint-plugin-react-hooks": "^7.0.1",
|
||||
"eslint-plugin-react-refresh": "^0.4.24",
|
||||
"globals": "^16.5.0",
|
||||
"typescript": "~5.9.3",
|
||||
"typescript-eslint": "^8.46.3",
|
||||
"vite": "^7.2.2"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user