Files
webspeak3/web/package.json
T
Moepchi 48f5e35a38 Add PWA installability (manifest + service worker)
- Wire up vite-plugin-pwa: generates a web app manifest and a
  precache-only service worker for the built app shell (JS/CSS/HTML/
  icons). WebSocket (/ws) and file-transfer traffic are never
  intercepted or cached. Disabled in dev so it doesn't interfere with
  Vite's own HMR websocket.
- Add 512px + maskable 512px icons generated from the existing logo.
- Add iOS "Add to Home Screen" meta tags (manifest support there is
  partial).
- Gateway: serve .webmanifest with the correct MIME type.
2026-09-07 16:16:44 +02:00

28 lines
590 B
JSON

{
"name": "webspeak3-web",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "oxlint",
"preview": "vite preview"
},
"dependencies": {
"fflate": "^0.8.3",
"react": "^19.2.7",
"react-dom": "^19.2.7"
},
"devDependencies": {
"@types/node": "^24.13.2",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.3",
"oxlint": "^1.71.0",
"typescript": "~6.0.2",
"vite": "^8.1.1",
"vite-plugin-pwa": "^1.3.0"
}
}