From 319a10b9a106e768ea2d3fb6d7134817911208ce Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Wed, 13 Sep 2023 16:04:12 -0500 Subject: Add basic PWA support TODO: draw the rest of the owl --- app/package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'app/package.json') diff --git a/app/package.json b/app/package.json index 2376d6f..2c0e0da 100644 --- a/app/package.json +++ b/app/package.json @@ -15,10 +15,12 @@ "@types/node": "20.6.0", "@typescript-eslint/eslint-plugin": "^6.7.0", "@typescript-eslint/parser": "^6.7.0", + "@vite-pwa/sveltekit": "^0.2.7", "autoprefixer": "10.4.15", "eslint": "^8.49.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-svelte": "^2.33.1", + "html-minifier-terser": "^7.2.0", "postcss": "8.4.29", "prettier": "^3.0.3", "prettier-plugin-svelte": "^3.0.3", @@ -28,6 +30,7 @@ "tslib": "^2.6.2", "typescript": "^5.2.2", "vite": "^4.4.9", + "vite-plugin-pwa": "^0.16.5", "vite-plugin-tailwind-purgecss": "0.1.3" }, "private": true, @@ -36,8 +39,8 @@ "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", "dev": "vite dev", - "format": "prettier --plugin-search-dir . --write .", - "lint": "prettier --plugin-search-dir . --check . && eslint .", + "format": "prettier --write .", + "lint": "prettier --check . && eslint .", "preview": "vite preview" }, "type": "module" -- cgit v1.2.3