Type-check the browser release build

This commit is contained in:
Meta Vens 2026-08-18 23:00:26 +02:00
commit f456993b07
2 changed files with 17 additions and 1 deletions

View file

@ -2,7 +2,11 @@
"name": "@gamecult/ghostlight-dungeon-web",
"private": true,
"type": "module",
"scripts": { "build": "vite build", "dev": "vite --host 127.0.0.1 --port 8832" },
"scripts": {
"build": "npm run typecheck && vite build",
"dev": "vite --host 127.0.0.1 --port 8832",
"typecheck": "tsc --noEmit"
},
"dependencies": { "@gamecult/eve-browser-lowering": "file:../vendor/eve/packages/eve-browser-lowering" },
"devDependencies": { "typescript": "^5.6.3", "vite": "^7.1.2" }
}

12
web/tsconfig.json Normal file
View file

@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "ES2022",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"module": "ESNext",
"moduleResolution": "Bundler",
"noEmit": true,
"strict": true,
"skipLibCheck": true
},
"include": ["src/**/*.ts"]
}