The API client and the two stores on Dexie have been dead since the collections took over every read and write, and nothing imports them any more. Dexie and workbox-window go with them; the service worker is registered by hand and needs no client library. The static adapter wipes build/ on every build, which dropped the tracked placeholder that keeps the directory in the repository. A postbuild step writes it back.
44 lines
1.1 KiB
JSON
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 -e \"require('fs').mkdirSync('build',{recursive:true});require('fs').writeFileSync('build/.gitkeep','')\"",
|
|
"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"
|
|
}
|
|
}
|
|
}
|