hypermedia blog

static site generator

hypermedia blog

package.json


{
  "name": "hypermedia_blog",
  "module": "src/index.ts",
  "type": "module",
  "devDependencies": {
    "@types/mustache": "^4.2.5",
    "autoprefixer": "^10.4.19",
    "bun-types": "latest",
    "cssnano": "^6.1.2",
    "htmx.org": "^1.9.12",
    "mustache": "^4.2.0",
    "postcss": "^8.4.38",
    "postcss-cli": "^10.1.0",
    "postcss-import": "^15.1.0",
    "postcss-nested": "^6.0.1",
    "tailwindcss": "^3.4.4"
  },
  "peerDependencies": {
    "typescript": "^5.5.2"
  },
  "scripts": {
    "init": "mkdir -p ./dist/ui && cp -r ./src/ui/i{co,mg} ./src/ui/hack.css ./dist/ui && cp ./node_modules/htmx.org/dist/htmx.min.js ./node_modules/htmx.org/dist/ext/head-support.js ./dist/ui && exit 0",
    "css": "bun ./node_modules/postcss-cli/index.js -o ./dist/ui/theme.css ./src/ui/theme.css && exit 0",
    "htmx": "bun src/index.ts && exit 0",
    "edit": "sudo bun --hot run src/server.ts",
    "start": "bun run init && bun run css && bun run htmx"
  },
  "dependencies": {
    "caniuse-lite": "latest",
    "update-browserslist-db": "latest"
  }
}

Download

raw zip tar