aboutsummaryrefslogtreecommitdiffstats
path: root/app/package.json
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2023-09-15 13:54:56 -0500
committerMatt Strapp <matt@mattstrapp.net>2023-09-15 13:56:50 -0500
commit2074c9c732f6d279f5153688b9e33bdc8c9c7674 (patch)
tree0ae640f9966cc8ae74abe28a1520b23ac610c604 /app/package.json
parentCreate dependabot.yml (diff)
downloadtrinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar
trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar.gz
trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar.bz2
trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar.lz
trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar.xz
trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.tar.zst
trinkets-2074c9c732f6d279f5153688b9e33bdc8c9c7674.zip
Here goes nothing!
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'app/package.json')
-rw-r--r--app/package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/package.json b/app/package.json
index 379d87b..857d367 100644
--- a/app/package.json
+++ b/app/package.json
@@ -18,6 +18,7 @@
"@typescript-eslint/parser": "^6.7.0",
"@vite-pwa/sveltekit": "^0.2.7",
"autoprefixer": "10.4.15",
+ "crc": "^4.3.2",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-svelte": "^2.33.1",
@@ -36,10 +37,10 @@
},
"private": true,
"scripts": {
- "build": "vite build && mv .svelte-kit/output/server/sw.js.map .svelte-kit/output/server/workbox-*.map build/",
+ "build": "vite build && cp .svelte-kit/output/server/sw.js.map .svelte-kit/output/server/workbox-*.map build/",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
- "dev": "vite dev",
+ "dev": "vite dev && rm -rf dev-dist",
"format": "prettier --write .",
"lint": "prettier --check . && eslint .",
"preview": "vite preview"