Files
wotra/web/package.json
T
aksdb 2c2c7a97c6 🧪 Fail the build when the client bundle carries the server runtime
The postbuild step now recreates the tracked build placeholder and checks
that the client bundle holds Svelte's browser runtime and the service
worker registration, so a wrong export condition cannot ship unnoticed.
2026-12-02 19:05:47 +01:00

44 lines
1.1 KiB
JSON

{
"name": "web",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"postbuild": "node scripts/postbuild.mjs",
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest",
"prepare": "svelte-kit sync || echo ''",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^7.0.1",
"@sveltejs/kit": "^2.70.3",
"@sveltejs/vite-plugin-svelte": "^7.3.0",
"fake-indexeddb": "^6.2.8",
"jsdom": "^29.1.1",
"svelte": "^5.56.9",
"svelte-check": "^4.7.6",
"typescript": "^6.0.3",
"vite": "^8.2.2",
"vitest": "^4.1.11"
},
"dependencies": {
"@signaldb/core": "^2.0.2",
"@signaldb/indexeddb": "^2.0.0",
"@signaldb/svelte": "^2.0.0",
"@signaldb/sync": "^2.0.0",
"@sveltejs/adapter-static": "^3.0.10",
"pocketbase": "^0.29.0",
"vite-plugin-pwa": "^1.3.0"
},
"overrides": {
"vite-plugin-pwa": {
"vite": "$vite"
}
}
}