- Vite 8 + React 19 + TypeScript 6 project via create-vite react-ts template - Tailwind v3.4 with shadcn-compatible cream palette (CSS vars) - vite-plugin-pwa v1.3 with autoUpdate SW, manifest.webmanifest, 192+512 icons - shadcn/ui components written manually (default style): button, card, input, label, sonner - Zustand persist auth store, ky API client with Bearer token hooks - React Router v7 routing with RequireAuth guard - TanStack Query v5 + Toaster wired in main.tsx - 5 stub pages: Login, Home, VehicleCard, InspectionEditor, InspectionReview - Build: 293 KB JS / 9.4 KB CSS, clean zero-warning tsc+vite build Co-Authored-By: claude-flow <ruv@ruv.net>
34 lines
788 B
JSON
34 lines
788 B
JSON
{
|
|
"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",
|
|
|
|
/* Strict */
|
|
"strict": true,
|
|
|
|
/* Linting */
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
/* Path alias */
|
|
"ignoreDeprecations": "6.0",
|
|
"baseUrl": ".",
|
|
"paths": { "@/*": ["./src/*"] }
|
|
},
|
|
"include": ["src"]
|
|
}
|