-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 4.95 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) · 4.95 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "hoplight",
"version": "0.1.26",
"private": true,
"type": "module",
"description": "The forge for AI-roleplay content. Convert, edit, and ship any format.",
"license": "AGPL-3.0-or-later",
"bin": {
"hoplight": "./src/cli.ts",
"kit": "./src/kit/index.tsx"
},
"scripts": {
"hoplight": "bun run src/cli.ts",
"kit": "bun run src/kit/index.tsx",
"dev": "bun run src/cli.ts ui 8321",
"test": "bun test ./src ./scripts --timeout 120000",
"test:m0": "bun test src/m0.smoke.test.ts src/formats/sillytavern/sillytavern.test.ts src/core --timeout 60000",
"test:m1": "bun test src/m1.convert.smoke.test.ts src/convert.test.ts --timeout 60000",
"test:node-core": "bun run scripts/node-core-smoke.ts",
"typecheck": "bunx tsc --noEmit",
"matrix": "bun run scripts/format-matrix.ts",
"matrix:check": "bun run scripts/format-matrix.ts --check",
"docs:fields": "bun run scripts/docs-fields.ts",
"docs:fields:check": "bun run scripts/docs-fields.ts --check",
"docs:index": "bun run scripts/docs-index.ts",
"docs:index:check": "bun run scripts/docs-index.ts --check",
"docs:summaries:inventory": "bun run scripts/docs-summaries.ts inventory",
"docs:summaries:scaffold": "bun run scripts/docs-summaries.ts scaffold",
"docs:summaries:stamp": "bun run scripts/docs-summaries.ts stamp",
"docs:summaries:check": "bun run scripts/docs-summaries.ts check",
"docs:summaries:queue": "bun run scripts/docs-summaries.ts queue",
"docs:summaries:review": "bun run scripts/docs-summaries.ts review",
"docs:figures": "bun run scripts/docs-figures.ts",
"docs:figures:check": "bun run scripts/docs-figures.ts --check",
"capabilities": "bun run scripts/capability-manifest.ts",
"capabilities:check": "bun run scripts/capability-manifest.ts --check",
"license:audit": "bun run scripts/license-audit.ts",
"build:cli": "bun build --compile src/cli.ts --outfile dist/hoplight",
"scan:colors": "bun run scripts/hooks/no-hardcode-colors.ts --scan",
"scan:colors:check": "bun run scripts/hooks/no-hardcode-colors.ts --check",
"scan:lines": "bun run scripts/hooks/file-lines.ts --scan",
"scan:emdash": "bun run scripts/hooks/prose-guards.ts --emdash",
"scan:links": "bun run scripts/hooks/prose-guards.ts --links",
"scan:headers": "bun run scripts/hooks/doctrines.ts --headers",
"scan:emoji": "bun run scripts/hooks/doctrines.ts --emoji",
"format:no-emoji": "bun run scripts/hooks/remove-emoji.ts",
"macros:pins": "bun run scripts/update-macro-pins.ts",
"macros:oracle": "bun run scripts/macro-oracle/extract.ts",
"lint:ui": "bunx eslint \"src/ui/**/*.{ts,tsx}\" \"src/kit/**/*.{ts,tsx}\" --max-warnings 0",
"catalog": "bun run scripts/hooks/component-catalog.ts",
"catalog:check": "bun run scripts/hooks/component-catalog.ts --check",
"verify:ci": "bun run typecheck && bun run test:node-core && bun run license:audit && bun run test && bun run scan:lines && bun run scan:colors:check && bun run scan:emdash && bun run scan:emoji && bun run scan:headers && bun run scan:links && bun run lint:ui && bun run catalog:check && bun run matrix:check && bun run docs:fields:check && bun run docs:index:check && bun run docs:summaries:check && bun run docs:figures:check && bun run capabilities:check",
"gate": "bun run scripts/hooks/gate.ts --worktree",
"audit": "bun scripts/audit/run.ts all",
"audit:rooms": "bun scripts/audit/run.ts rooms",
"audit:library": "bun scripts/audit/run.ts library",
"audit:editors": "bun scripts/audit/run.ts editors",
"audit:setup": "bun scripts/audit/run.ts setup",
"audit:promises": "bun scripts/audit/run.ts promises",
"audit:clicks": "bun scripts/audit/run.ts clicks",
"audit:legibility:dark": "bun scripts/audit/run.ts legibility dark",
"audit:legibility:light": "bun scripts/audit/run.ts legibility light",
"audit:watch": "bun scripts/audit/run.ts watch"
},
"engines": {
"bun": ">=1.3.0"
},
"devDependencies": {
"@types/bun": "^1.3.14",
"@types/jsdom": "^28.0.3",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"eslint": "^10.6.0",
"eslint-plugin-react-hooks": "^7.1.1",
"jsdom": "^29.1.1",
"playwright-core": "^1.61.1",
"typescript-eslint": "^8.62.1"
},
"dependencies": {
"@ai-sdk/anthropic": "^4.0.18",
"@ai-sdk/google": "^4.0.22",
"@ai-sdk/groq": "^4.0.13",
"@ai-sdk/mistral": "^4.0.14",
"@ai-sdk/openai": "^4.0.18",
"@ai-sdk/openai-compatible": "^3.0.14",
"@openrouter/ai-sdk-provider": "^3.0.0",
"@opentui/core": "^0.4.5",
"@opentui/react": "^0.4.5",
"ai": "^7.0.35",
"dompurify": "^3.4.11",
"fflate": "^0.8.3",
"lucide-react": "^1.24.0",
"marked": "^18.0.5",
"png-chunk-text": "^1.0.0",
"png-chunks-encode": "^1.0.0",
"png-chunks-extract": "^1.0.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"wasmoon": "1.16.0",
"webview-bun": "^2.4.0",
"zod": "^4.4.3",
"zustand": "^5.0.14"
}
}