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:
28
libertas-frontend/tsconfig.app.json
Normal file
28
libertas-frontend/tsconfig.app.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
||||
"target": "ES2022",
|
||||
"useDefineForClassFields": true,
|
||||
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
||||
"module": "ESNext",
|
||||
"types": ["vite/client"],
|
||||
"skipLibCheck": true,
|
||||
|
||||
/* Bundler mode */
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"verbatimModuleSyntax": true,
|
||||
"moduleDetection": "force",
|
||||
"noEmit": true,
|
||||
"jsx": "react-jsx",
|
||||
|
||||
/* Linting */
|
||||
"strict": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"erasableSyntaxOnly": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUncheckedSideEffectImports": true
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
Reference in New Issue
Block a user