-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 1.26 KB
/
Copy pathpackage.json
File metadata and controls
53 lines (53 loc) · 1.26 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
{
"name": "@haydenull/code-canvas",
"version": "1.5.1",
"description": "代码流程产物校验与可视化 CLI",
"type": "module",
"engines": {
"node": ">=20"
},
"files": [
"dist"
],
"bin": {
"code-canvas": "./dist/cli.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/haydenull/code-canvas.git"
},
"keywords": [
"code-visualization",
"flowchart",
"cli"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "vite build --config src/viewer/vite.config.ts && bun build src/cli.ts --outdir dist --target node --packages external && tsc --noEmit",
"check": "tsc --noEmit",
"prepack": "bun run build",
"view": "bun run build && node dist/cli.js view artifacts/example.logic.json",
"test": "bun test"
},
"dependencies": {
"commander": "^14.0.3",
"zod": "^4.4.3"
},
"devDependencies": {
"@types/bun": "latest",
"@types/dagre": "latest",
"@types/react": "latest",
"@types/react-dom": "latest",
"@vitejs/plugin-react": "^6.0.2",
"@xyflow/react": "^12.11.0",
"dagre": "^0.8.5",
"esbuild": "^0.28.1",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"shiki": "^4.2.0",
"typescript": "latest",
"vite": "^8.0.16"
}
}