- Add vite-plugin-pwa + workbox-window - Configure PWA manifest with icons (SVG) - Configure Workbox runtime caching: - API routes: NetworkFirst (10s timeout, 100 entries, 24h) - Media files: CacheFirst (50 entries, 7 days) - Pages: NetworkFirst (10s timeout, 50 entries, 24h) - Register service worker in app.js with update notification - Generate icons (SVG) for all sizes Tests: 101 passing (319 assertions)
32 lines
859 B
JSON
32 lines
859 B
JSON
{
|
|
"$schema": "https://www.schemastore.org/package.json",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"dev": "vite"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/forms": "^0.5.2",
|
|
"@tailwindcss/vite": "^4.0.0",
|
|
"autoprefixer": "^10.5.0",
|
|
"axios": "^1.11.0",
|
|
"concurrently": "^9.0.1",
|
|
"daisyui": "^5.5.19",
|
|
"laravel-echo": "^2.4.0",
|
|
"laravel-vite-plugin": "^2.0.0",
|
|
"postcss": "^8.5.12",
|
|
"pusher-js": "^8.6.0",
|
|
"tailwindcss": "^3.4.19",
|
|
"vite": "^7.0.7",
|
|
"vite-plugin-pwa": "^1.3.0",
|
|
"workbox-window": "^7.4.1"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/typography": "^0.5.19",
|
|
"apexcharts": "^5.10.6",
|
|
"chart.js": "^4.5.1",
|
|
"localforage": "^1.10.0"
|
|
}
|
|
}
|