aboutsummaryrefslogtreecommitdiff
path: root/174bg/handbook/package.json
diff options
context:
space:
mode:
Diffstat (limited to '174bg/handbook/package.json')
-rw-r--r--174bg/handbook/package.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/174bg/handbook/package.json b/174bg/handbook/package.json
index 94ec8ca..b885c05 100644
--- a/174bg/handbook/package.json
+++ b/174bg/handbook/package.json
@@ -11,12 +11,12 @@
},
"scripts": {
"build-css": "npx @tailwindcss/cli -i ./source/index.css -o ./public/index.css",
- "copy-html": "npx copyfiles -u 1 ./source/index.html ./public",
- "build": "npx npm-run-all build-css copy-html",
+ "copy-files": "npx copyfiles -u 1 \"source/**/*.{html,js}\" public",
+ "build": "npx npm-run-all build-css copy-files",
"watch-css": "npx @tailwindcss/cli -i ./source/index.css -o ./public/index.css --watch",
- "watch-html": "npx chokidar \"source/**/*.html\" -c \"npm run copy-html\" --initial",
+ "watch-files": "npx chokidar \"source/**/*.{html,js}\" -c \"npm run copy-files\" --initial",
"serve": "npx live-server public",
- "dev": "npx npm-run-all --parallel watch-css watch-html serve",
+ "dev": "npx npm-run-all --parallel watch-css watch-files serve",
"deploy": "npx wrangler deploy --minify",
"build+deploy": "npx npm-run-all build deploy"
}