Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 2.44 KB
/
Copy pathpackage.json
File metadata and controls
59 lines (59 loc) · 2.44 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "@ui8kit/codegen",
"private": true,
"version": "2.0.0",
"type": "module",
"description": "ui8kit codegen 2.0 (xgen): spec-driven generation of one typed UI contract into eight runtimes (Svelte 5, React 19, Vue 3, SolidJS, Go templ, Twig, Jinja2, Latte) with identical DOM and ARIA, plus a shared app package and one host app per TypeScript runtime. Bun workspaces.",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ui8kit/codegen.git"
},
"workspaces": [
"xgen/schema",
"xgen/spec",
"xgen/screens",
"xgen/generator",
"xgen/check",
"xgen/cli",
"xgen/runtimes/*",
"apps/*",
"packages/tooling",
"packages/shared/*",
"packages/svelte/*",
"packages/react/*",
"packages/vue/*",
"packages/solid/*",
"packages/templ/*",
"packages/twig/*",
"packages/jinja2/*",
"packages/latte/*"
],
"packageManager": "bun@1.4.2",
"scripts": {
"build": "bun xgen/cli/src/cli.ts build",
"check": "bun xgen/cli/src/cli.ts check",
"codex:manifest": "bun xgen/schema/src/codex.ts",
"codex:validate": "bun xgen/schema/src/codex-validate.ts",
"codex:blocks": "bun xgen/schema/src/codex-blocks.ts",
"rules": "bun xgen/check/tools/rules.ts",
"rules:baseline": "bun xgen/check/tools/rules.ts --write",
"audit:push": "bash packages/tooling/bin/audit.sh",
"hooks:install": "git config core.hooksPath .githooks",
"build:hosts": "bun run --cwd apps/host-svelte build && bun run --cwd apps/host-react build && bun run --cwd apps/host-vue build && bun run --cwd apps/host-solid build",
"e2e": "bun xgen/cli/src/cli.ts e2e",
"shot": "bun xgen/cli/src/cli.ts shot",
"visual": "bun xgen/cli/src/cli.ts visual",
"typecheck": "bun run typecheck:xgen && bun run --filter \"@ui8kit/svelte-ui\" --filter \"@ui8kit/react-ui\" --filter \"@ui8kit/vue-ui\" --filter \"@ui8kit/solid-ui\" --filter \"@ui8kit/app-shared\" --filter \"host-*\" --parallel check",
"test": "bun test xgen",
"check:all": "bun run build && bun run check && bun run typecheck && bun run build:hosts && bun run test && bun run lint:px && bun run e2e",
"typecheck:xgen": "tsc -p xgen/tsconfig.json",
"lint:px": "node packages/tooling/bin/ui8px-gate.mjs",
"verify": "bun run check && bun run codex:validate && bun run typecheck && bun run test"
},
"devDependencies": {
"@types/bun": "^1.4.2",
"html-validate": "^11.16.2",
"ui8px": "0.2.4"
}
}