- root 'npm run gallery' delegate pointed at a missing theme script since wave 1 (01-01 contract: plan 04 wires the 'gallery' slot; tasks 1-2 wired audit/capture only) - gallery = one-command DSGN-02 review loop: build -> capture -> serve theme/ on :8123 (fresh-checkout safe: dist + captures regenerate; fallback contract intact per D-06) - verified: JSON valid in both manifests; resolution from root + theme; build 114ms; CAPTURE OK 6/6 non-blank (sheet + basemap byte-identical to approved set, mockups <=107B render variance, zero fallbacks); AUDIT CLEAN (354 declarations, 0 off-token); serve link proven live (basemap:preview serving gallery.html 200 on :8123)
23 lines
892 B
JSON
23 lines
892 B
JSON
{
|
|
"name": "@araharah/theme",
|
|
"type": "module",
|
|
"devDependencies": {
|
|
"@tailwindcss/cli": "^4.0.0",
|
|
"tailwindcss": "^4.0.0"
|
|
},
|
|
"dependencies": {
|
|
"playwright": "^1.50.0"
|
|
},
|
|
"scripts": {
|
|
"build": "tailwindcss -i ./src/theme.css -o ./dist/rams.css --minify",
|
|
"send": "mkdir -p dist/fonts && cp -r fonts/geist fonts/space-grotesk dist/fonts/",
|
|
"sheet": "npm run build && echo 'open theme/src/sheet.html in browser ( Consumes theme/dist/rams.css )'",
|
|
"gallery": "npm run build && npm run capture && echo 'DSGN-02 gallery serving: http://localhost:8123/gallery.html + /basemap/' && npm run basemap:preview",
|
|
"basemap": "node basemap/build.mjs",
|
|
"basemap:preview": "python3 -m http.server 8123",
|
|
"audit": "node ./scripts/audit.mjs ./dist/rams.css",
|
|
"capture": "node ./scripts/screenshot.mjs",
|
|
"test": "node ./scripts/audit.test.mjs"
|
|
}
|
|
}
|