summaryrefslogtreecommitdiff
path: root/web/tsconfig.json
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2026-11-08 21:56:29 +0100
committerJoel Klinghed <the_jk@spawned.biz>2026-11-08 21:56:29 +0100
commitf6955e34489c79f6d5b764cb6a39b1387366b433 (patch)
tree83dad99ad81964036820468ad23fdc9ebe5c20a5 /web/tsconfig.json
parent0578ed0e5a08e6790a2e02416c4bf79f8c471f2d (diff)
Phase 0: project scaffolding
- server/: Dart game-server package (shelf + WebSocket) with the hello/welcome handshake, ping/pong, error responses, healthz, static SPA serving with SPA fallback, and smoke tests (5/5) - web/: Svelte 5 + TypeScript SPA with the protocol client, connection-status page, vitest and svelte-check; Vite dev server proxies /ws to the Dart server - game data assets copied from the read-only reference app into server/assets/ (data, images, i18n, fonts, testData) - PLAN.md implementation plan and progress tracker; README rewritten for the web app; AGPLv3 LICENSE inherited from the reference app; .gitignore; scripts/ci.sh (full pipeline) - CLAUDE.md project guidance Verified: scripts/ci.sh passes end-to-end; live smoke confirms the server serves the built SPA at / and answers a WebSocket hello with a welcome message.
Diffstat (limited to 'web/tsconfig.json')
-rw-r--r--web/tsconfig.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/web/tsconfig.json b/web/tsconfig.json
new file mode 100644
index 0000000..022dcf9
--- /dev/null
+++ b/web/tsconfig.json
@@ -0,0 +1,21 @@
+{
+ "compilerOptions": {
+ "target": "ES2022",
+ "module": "ESNext",
+ "moduleResolution": "bundler",
+ "lib": ["ES2022", "DOM", "DOM.Iterable"],
+ "strict": true,
+ "noEmit": true,
+ "isolatedModules": true,
+ "verbatimModuleSyntax": true,
+ "skipLibCheck": true,
+ "useDefineForClassFields": true,
+ "resolveJsonModule": true,
+ "baseUrl": ".",
+ "paths": {
+ "$lib": ["./src/lib"],
+ "$lib/*": ["./src/lib/*"]
+ }
+ },
+ "include": ["src/**/*.ts", "src/**/*.svelte", "test/**/*.ts", "vite.config.ts"]
+}