Files
SaaS-PDF/frontend/package.json
Your Name a539ad43af feat: add PWA support with service worker and update prompt
- Updated package.json to include vite-plugin-pwa and workbox-window.
- Added icon SVGs for PWA: icon-512.svg and maskable-512.svg.
- Created a manifest.json for PWA configuration.
- Implemented PwaUpdatePrompt component to notify users of available updates.
- Enhanced CookieConsent and SiteAssistant components for better layout and responsiveness.
- Updated global CSS for safe-area insets and mobile-first enhancements.
- Registered service worker in usePwaRegistration hook for managing updates.
- Modified Vite configuration to integrate PWA features and caching strategies.
2026-04-06 08:12:32 +02:00

56 lines
1.7 KiB
JSON

{
"name": "dociva-frontend",
"private": true,
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"prebuild": "node scripts/merge-keywords.mjs && node scripts/generate-seo-assets.mjs",
"build": "tsc --noEmit && vite build && node scripts/render-seo-shells.mjs",
"indexnow:submit": "node scripts/submit-indexnow.mjs",
"indexnow:dry-run": "node scripts/submit-indexnow.mjs --dry-run",
"preview": "vite preview",
"lint": "eslint .",
"test": "vitest run",
"seo:generate": "node scripts/merge-keywords.mjs && node scripts/generate-seo-assets.mjs",
"lint:i18n": "node scripts/check-i18n-keys.mjs",
"lint:hardcoded": "node scripts/check-hardcoded-text.mjs"
},
"dependencies": {
"@microsoft/clarity": "^1.0.2",
"axios": "^1.7.0",
"fabric": "^6.4.3",
"i18next": "^23.11.0",
"i18next-browser-languagedetector": "^8.0.0",
"lucide-react": "^0.400.0",
"pdf-lib": "^1.17.1",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"react-dropzone": "^14.2.0",
"react-ga4": "^2.1.0",
"react-helmet-async": "^2.0.0",
"react-i18next": "^14.1.0",
"react-router-dom": "^6.23.0",
"sonner": "^1.5.0",
"zustand": "^4.5.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/node": "^20.14.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.0",
"autoprefixer": "^10.4.0",
"jsdom": "^28.1.0",
"msw": "^2.12.10",
"postcss": "^8.4.0",
"tailwindcss": "^3.4.0",
"typescript": "^5.5.0",
"vite": "^5.4.0",
"vite-plugin-pwa": "^1.2.0",
"vitest": "^4.0.18",
"workbox-window": "^7.4.0"
}
}