hypermedia blog

static site generator

hypermedia blog

package.json


{
  "name": "hypermedia_blog",
  "homepage": "https://github.com/xero/hypermedia-blog",
  "author": "xero <x@xero.style>",
  "version": "1.0.0",
  "keywords": "blog, static, htmx, bun, statics site, generator, xero, hypermedia",
  "license": "CC0",
  "module": "src/index.ts",
  "type": "module",
  "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/css/pixelgraff.css ./src/ui/css/pixelgraff.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": {
    "@types/mustache": "^4.2.5",
    "autoprefixer": "^10.4.19",
    "bun-types": "latest",
    "caniuse-lite": "latest",
    "htmx.org": "^1.9.12",
    "mustache": "^4.2.0",
    "postcss": "^8.4.39",
    "postcss-cli": "^10.1.0",
    "postcss-csso": "^6.0.1",
    "postcss-import": "^15.1.0",
    "postcss-nested": "^6.0.1",
    "tailwindcss": "^3.4.4",
    "update-browserslist-db": "latest"
  },
  "peerDependencies": {
    "typescript": "^5.5.2"
  }
}

Download

raw zip tar