hypermedia blog

static site generator

hypermedia blog

package.json


{
  "name": "xero.0w.nz",
  "module": "src/index.ts",
  "type": "module",
  "devDependencies": {
    "@types/mustache": "^4.2.2",
    "autoprefixer": "^10.4.15",
    "bun-types": "latest",
    "cssnano": "^6.0.1",
    "htmx": "^0.0.2",
    "mustache": "^4.2.0",
    "postcss": "^8.4.30",
    "postcss-cli": "^10.1.0",
    "postcss-import": "^15.1.0",
    "postcss-nested": "^6.0.1",
    "tailwindcss": "^3.3.3"
  },
  "peerDependencies": {
    "typescript": "^5.0.0"
  },
  "scripts": {
    "init": "mkdir -p dist/ui && cp -r src/ui/i{co,mg} src/ui/htmx.js dist/ui",
    "css": "bun ./node_modules/postcss-cli/index.js -o ./dist/ui/theme.css ./src/ui/theme.css",
    "htmx": "bun src/index.ts",
    "start": "bun run init && bun run css && bun run htmx"
  }
}

Download

raw zip tar