Phase 1 — Project Scaffold: - Vite + React-TS project in frontend/ with Tailwind v3, PostCSS, Autoprefixer - clsx and react-router-dom installed - Vite proxy configured for /api and /ws to localhost:8000 - Tailwind directives in src/index.css - Makefile targets: frontend-dev, frontend-build - app.py updated to serve frontend/dist/ with SPA catch-all fallback Phase 2 — Type Definitions: - TypeScript types in frontend/src/types/game.ts (Phase, Card, Player, GameState, WsIncoming, NarrationLine) - Constants in frontend/src/constants.ts (SEAT_COLOURS, PHASES) Phase 10 — Tailwind Colour Tokens: - Custom color tokens for bg, accent, life, seat, card color groups - Additional tokens from index.html audit: border, phase, btn, text, highlight - Custom pulse animation keyframe Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
27 lines
653 B
JSON
27 lines
653 B
JSON
{
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
"target": "ES2023",
|
|
"lib": ["ES2023"],
|
|
"module": "ESNext",
|
|
"types": ["node"],
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"erasableSyntaxOnly": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedSideEffectImports": true
|
|
},
|
|
"include": ["vite.config.ts"]
|
|
}
|