mirror of
https://github.com/bitbaum/sitekit.git
synced 2026-12-04 04:37:06 +01:00
The Camille rebuild (first real site against the union) could not be expressed, which per ADR-0003 means the union grows here, deliberately: - hero gains optional actions (first filled, rest outlined) — a publication has none, a bakery has two - cards gain an optional icon and a 4-column layout - feature: a figure beside a story (founder, workshop) with quote and CTA - contact: locations with address/phone/hours — exactly the fields the provenance rules protect; the renderer omits whatever the data omits - faq: native details/summary, works without JavaScript - anchor generalised to every jumpable kind, and the page schema now rejects a hero action or index entry pointing at a fragment nothing carries — Camille's hand-rolled original shipped dead links; generated sites can't 28 tests, all importing by package name. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AZCNYHwjEeqxNpYCUk6Yna
67 lines
1.6 KiB
JSON
67 lines
1.6 KiB
JSON
{
|
|
"name": "sitekit",
|
|
"version": "0.2.0",
|
|
"description": "A website as data: a closed union of section shapes validated at runtime, one set of React renderers, and per-field provenance so a generated site can prove it fabricated nothing.",
|
|
"license": "MIT",
|
|
"author": "Mao Nakamoto",
|
|
"homepage": "https://github.com/bitbaum/sitekit#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/bitbaum/sitekit.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/bitbaum/sitekit/issues"
|
|
},
|
|
"keywords": [
|
|
"site-generator",
|
|
"content-model",
|
|
"sections",
|
|
"zod",
|
|
"react",
|
|
"headless-cms"
|
|
],
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./react": {
|
|
"types": "./dist/react/index.d.ts",
|
|
"default": "./dist/react/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"test": "node --test test/*.test.js",
|
|
"verify": "npm run lint && npm run typecheck && npm run build && npm test",
|
|
"prepare": "npm run build"
|
|
},
|
|
"dependencies": {
|
|
"zod": "^4.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.5",
|
|
"@types/node": "^22.10.2",
|
|
"@types/react": "^19.0.0",
|
|
"eslint": "^9.39.5",
|
|
"globals": "^15.15.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"typescript": "^5.8.2",
|
|
"typescript-eslint": "^8.67.0"
|
|
}
|
|
}
|