- Add index.html as the main entry point for the application. - Create package.json to manage dependencies and scripts for development. - Include favicon.svg for the application icon. - Configure PWA assets generation with pwa-assets.config.js. - Implement counter functionality in counter.js with notification on reaching 5. - Add JavaScript logo SVG for branding. - Set up main.js to render the application and handle user interactions. - Create notification.js to manage browser notifications. - Implement PWA registration and update handling in pwa.js. - Style the application with a new style.css file. - Configure Vite with PWA plugin in vite.config.js for service worker and manifest settings.
22 lines
420 B
JSON
22 lines
420 B
JSON
{
|
|
"name": "budget-manager",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview"
|
|
},
|
|
"devDependencies": {
|
|
"@vite-pwa/assets-generator": "^0.2.6",
|
|
"vite": "^6.0.11",
|
|
"vite-plugin-pwa": "^0.21.1",
|
|
"workbox-window": "^7.3.0"
|
|
},
|
|
"resolutions": {
|
|
"sharp": "0.32.6",
|
|
"sharp-ico": "0.1.5"
|
|
}
|
|
}
|