diff options
Diffstat (limited to '174bg/handbook/package.json')
| -rw-r--r-- | 174bg/handbook/package.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/174bg/handbook/package.json b/174bg/handbook/package.json index 51a8a13..94ec8ca 100644 --- a/174bg/handbook/package.json +++ b/174bg/handbook/package.json @@ -2,7 +2,9 @@ "dependencies": { "@tailwindcss/cli": "^4.3.0", "@tailwindcss/typography": "^0.5.19", + "chokidar-cli": "^3.0.0", "copyfiles": "^2.4.1", + "live-server": "^1.2.2", "npm-run-all": "^4.1.5", "tailwindcss": "^4.3.0", "wrangler": "^4.95.0" @@ -11,6 +13,10 @@ "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", + "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", + "serve": "npx live-server public", + "dev": "npx npm-run-all --parallel watch-css watch-html serve", "deploy": "npx wrangler deploy --minify", "build+deploy": "npx npm-run-all build deploy" } |
