diff options
author | Matt Strapp <matt@mattstrapp.net> | 2023-09-13 16:04:12 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2023-09-14 13:26:23 -0500 |
commit | 319a10b9a106e768ea2d3fb6d7134817911208ce (patch) | |
tree | d4d71c83665ff583071f387309980b6cdb893d88 /app/package.json | |
parent | Initial commit (diff) | |
download | trinkets-319a10b9a106e768ea2d3fb6d7134817911208ce.tar trinkets-319a10b9a106e768ea2d3fb6d7134817911208ce.tar.gz trinkets-319a10b9a106e768ea2d3fb6d7134817911208ce.tar.bz2 trinkets-319a10b9a106e768ea2d3fb6d7134817911208ce.tar.lz trinkets-319a10b9a106e768ea2d3fb6d7134817911208ce.tar.xz trinkets-319a10b9a106e768ea2d3fb6d7134817911208ce.tar.zst trinkets-319a10b9a106e768ea2d3fb6d7134817911208ce.zip |
Add basic PWA support
TODO: draw the rest of the owl
Diffstat (limited to 'app/package.json')
-rw-r--r-- | app/package.json | 7 |
1 files changed, 5 insertions, 2 deletions
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" |