Files
SearcjGal-frontend/package.json
AdingApkgg 04c802a84f feat: integrate PWA support with vite-plugin-pwa and remove legacy service worker files
- Added vite-plugin-pwa for enhanced PWA capabilities, including automatic service worker registration and caching strategies.
- Updated manifest configuration directly in vite.config.ts, removing the need for a separate manifest.json file.
- Removed legacy service worker and associated versioning plugin, streamlining the PWA setup.
- Adjusted UI components to reflect the new update handling mechanism for service workers.
2026-01-09 21:10:47 +08:00

42 lines
1.2 KiB
JSON

{
"name": "searchgal-frontend",
"private": true,
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@tailwindcss/vite": "^4.1.18",
"@types/node": "^25.0.3",
"@typescript-eslint/eslint-plugin": "^8.50.1",
"@typescript-eslint/parser": "^8.50.1",
"@vitejs/plugin-vue": "^6.0.3",
"eslint": "^9.39.2",
"eslint-plugin-vue": "^10.6.2",
"tailwindcss": "^4.1.18",
"typescript": "^5.9.3",
"typescript-eslint": "^8.50.1",
"vite": "^7.3.0",
"vite-plugin-pwa": "^1.2.0",
"vue-tsc": "^3.2.1",
"workbox-window": "^7.4.0"
},
"dependencies": {
"@fontsource/noto-sans-sc": "^5.2.8",
"@tanstack/vue-virtual": "^3.13.13",
"artalk": "^2.9.1",
"lucide-vue-next": "^0.562.0",
"pinia": "^3.0.4",
"prismjs": "^1.30.0",
"vue": "^3.5.26",
"vue-prism-editor": "2.0.0-alpha.2"
},
"packageManager": "pnpm@10.27.0+sha512.72d699da16b1179c14ba9e64dc71c9a40988cbdc65c264cb0e489db7de917f20dcf4d64d8723625f2969ba52d4b7e2a1170682d9ac2a5dcaeaab732b7e16f04a"
}