-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
35 lines (35 loc) · 1.24 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"name": "hypermedia_blog",
"homepage": "https://github.com/xero/hypermedia-blog",
"author": "xero <[email protected]>",
"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"
}
}