hypermedia blog

static site generator

hypermedia blog

package.json


{
	"name": "hypermedia_blog",
	"module": "src/index.ts",
	"type": "module",
	"devDependencies": {
		"@types/mustache": "^4.2.2",
		"autoprefixer": "^10.4.15",
		"bun-types": "latest",
		"cssnano": "^6.0.1",
		"htmx.org": "^1.9.6",
		"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/hack.css ./dist/ui && cp ./node_modules/htmx.org/dist/htmx.min.js ./node_modules/htmx.org/dist/ext/head-support.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",
		"edit": "sudo bun --hot run src/server.ts",
		"start": "bun run init &&  bun run css && bun run htmx"
	}
}

Download

raw zip tar