Files
andwati.com/package.json
T
andwati c035aca132 Add OG image auto-generation for writings, portfolio, and bookshelf
Replaces the legacy Zola script, which was hard-coded to the retired
"CASE FILE" branding, with scripts/generate-og-images.astro-site.mjs
built on the new design system's dark palette + Fraunces/JetBrains Mono.
Base.astro now renders og:image/twitter:image from a per-page ogImage
prop, wired into the writings and bookshelf detail pages.

Uses static-weight Fraunces/Newsreader font packages rather than the
variable fonts the site ships elsewhere, since satori's opentype.js
parser throws on their fvar table.
2026-09-01 08:59:42 +03:00

28 lines
946 B
JSON

{
"name": "andwati-com",
"private": true,
"type": "module",
"scripts": {
"dev": "concurrently -n site,cms -c blue,magenta \"pnpm --filter site dev\" \"pnpm --filter cms develop\"",
"dev:site": "pnpm --filter site dev",
"dev:cms": "pnpm --filter cms develop",
"build:site": "pnpm --filter site build",
"build:cms": "pnpm --filter cms build",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"legacy:generate:llms": "node scripts/generate-llms.mjs",
"legacy:generate:og": "node scripts/generate-og-images.mjs",
"legacy:build": "npm run legacy:generate:llms && npm run legacy:generate:og && zola build"
},
"devDependencies": {
"@biomejs/biome": "^2.5.11",
"@fontsource/fraunces": "^5.3.0",
"@fontsource/newsreader": "^5.3.0",
"@resvg/resvg-js": "^2.6.2",
"concurrently": "^10.0.5",
"satori": "^0.29.0",
"smol-toml": "^1.8.0",
"wawoff2": "^2.0.1"
}
}