aboutsummaryrefslogtreecommitdiff
path: root/174bg/handbook/package.json
blob: b885c05f10ad0a12765c7ec39b8fc0824c978eab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  "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"
  },
  "scripts": {
    "build-css": "npx @tailwindcss/cli -i ./source/index.css -o ./public/index.css",
    "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-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-files serve",
    "deploy": "npx wrangler deploy --minify",
    "build+deploy": "npx npm-run-all build deploy"
  }
}