CityTracker/client/package.json
Claudio Schaad 11b6d493e7 Make CityTracker installable as a PWA
Adds a web app manifest, Workbox service worker (via vite-plugin-pwa),
and placeholder icons so the app can be installed to a home screen /
app window. App shell is precached for offline load; API and upload
requests stay network-only so city data and photos are never served
stale. Desktop browser access is unaffected.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-24 17:16:25 +02:00

31 lines
739 B
JSON

{
"name": "@citytracker/client",
"version": "1.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"clean": "rimraf dist"
},
"dependencies": {
"@citytracker/shared": "*",
"@tanstack/react-query": "^5.51.23",
"leaflet": "^1.9.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-leaflet": "^4.2.1",
"react-router-dom": "^6.26.1"
},
"devDependencies": {
"@types/leaflet": "^1.9.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"rimraf": "^5.0.9",
"typescript": "^5.5.4",
"vite": "^6.4.3",
"vite-plugin-pwa": "^1.3.0"
}
}