Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
140 lines (140 loc) · 5.32 KB
/
Copy pathpackage.json
File metadata and controls
140 lines (140 loc) · 5.32 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "@tscircuit/runframe",
"main": "dist/preview.js",
"type": "module",
"version": "0.0.3209",
"repository": {
"type": "git",
"url": "https://github.com/tscircuit/runframe"
},
"exports": {
".": "./dist/preview.js",
"./preview": "./dist/preview.js",
"./runner": "./dist/runner.js",
"./standalone": "./dist/standalone.min.js",
"./standalone-preview": "./dist/standalone-preview.min.js"
},
"files": [
"dist"
],
"scripts": {
"start": "bun run build:css && concurrently 'bun run cosmos' 'bun run build:css:watch'",
"build": "bun run build:css && bun run build:standalone && bun run build:standalone-preview && bun run build:lib",
"build:lib": "tsup-node lib/preview.ts lib/runner.ts --external react-query schematic-symbols lucide-react circuit-to-svg @tscircuit/props --platform browser --format esm --dts",
"build:css": "bun run scripts/build-css.ts",
"build:css:watch": "chokidar 'lib/components/**/*.tsx' -c 'bun run build:css'",
"build:site": "cosmos-export && bun run build:iframe",
"build:standalone": "NODE_OPTIONS=--max-old-space-size=8192 STANDALONE=1 vite build",
"build:iframe": "STANDALONE=iframe vite build && mv ./dist/lib/entrypoints/iframe.html ./dist/iframe.html && cp -f ./dist/iframe.html ./cosmos-export/iframe.html && cp -f ./dist/iframe.min.js ./cosmos-export/iframe.min.js",
"build:standalone-preview": "NODE_OPTIONS=--max-old-space-size=8192 STANDALONE=preview vite build --emptyOutDir false",
"analyze": "source-map-explorer 'dist/standalone.min.js'",
"format:check": "biome format .",
"format": "biome format --write .",
"vercel-build": "bun run build:css && cosmos-export",
"serve:cosmos": "serve cosmos-export",
"pkg-pr-new-release": "bunx pkg-pr-new publish --comment=off --peerDeps"
},
"devDependencies": {
"@babel/standalone": "^7.26.10",
"@biomejs/biome": "^1.9.4",
"@radix-ui/react-alert-dialog": "^1.1.6",
"@radix-ui/react-checkbox": "^1.1.4",
"@radix-ui/react-dialog": "^1.1.14",
"@radix-ui/react-dropdown-menu": "^2.1.4",
"@radix-ui/react-icons": "^1.3.2",
"@radix-ui/react-popover": "^1.1.14",
"@radix-ui/react-progress": "^1.1.2",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-slot": "^1.1.1",
"@radix-ui/react-tabs": "^1.1.2",
"@radix-ui/react-tooltip": "^1.2.8",
"@react-hook/resize-observer": "^2.0.2",
"@resvg/resvg-wasm": "^2.6.2",
"@tscircuit/3d-viewer": "^0.0.649",
"@tscircuit/assembly-viewer": "^0.0.6",
"@tscircuit/capacity-autorouter": "^0.0.874",
"@tscircuit/circuit-json-util": "^0.0.116",
"@tscircuit/create-snippet-url": "^0.0.9",
"@tscircuit/drawing-viewer": "https://jscdn.tscircuit.com/@tscircuit/drawing-viewer/0.0.3.tgz",
"@tscircuit/fake-snippets": "^0.0.163",
"@tscircuit/file-server": "^0.0.32",
"@tscircuit/internal-dynamic-import": "^0.0.18",
"@tscircuit/pcb-viewer": "^1.11.450",
"@tscircuit/props": "^0.0.719",
"@tscircuit/schematic-trace-solver": "^0.0.196",
"@tscircuit/schematic-viewer": "^2.0.109",
"@tscircuit/system-block-viewer": "https://jscdn.tscircuit.com/@tscircuit/system-block-viewer/0.0.5.tgz",
"@types/bun": "latest",
"@types/debug": "^4.1.12",
"@types/react": "^19.1.10",
"@types/react-dom": "^19.1.7",
"@types/three": "^0.179.0",
"@vitejs/plugin-react": "^5.0.0",
"autoprefixer": "^10.4.20",
"chokidar-cli": "^3.0.0",
"circuit-json": "^0.0.544",
"circuit-json-to-altium": "github:tscircuit/circuit-json-to-altium#1a50d0dd2c0737cf940d92c0315852dc0111dd87",
"circuit-json-to-bom-csv": "^0.0.26",
"circuit-json-to-gerber": "^0.0.122",
"circuit-json-to-kicad": "^0.0.272",
"circuit-json-to-lbrn": "^0.0.74",
"circuit-json-to-pnp-csv": "^0.0.18",
"circuit-json-to-step": "^0.0.47",
"circuit-to-svg": "^0.0.456",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"comlink": "^4.4.2",
"concurrently": "^9.1.2",
"cssnano": "^7.0.6",
"easyeda": "^0.0.372",
"fflate": "^0.8.2",
"fuse.js": "^7.1.0",
"jose": "^6.1.0",
"jszip": "^3.10.1",
"jsdom": "^26.0.0",
"kicad-component-converter": "^0.1.21",
"kicadts": "^0.0.47",
"ky": "^1.7.5",
"lucide-react": "^0.488.0",
"marked": "^15.0.12",
"minimatch": "^10.0.3",
"playwright": "^1.49.1",
"postcss": "^8.4.49",
"posthog-js": "^1.253.4",
"react": "19.1.0",
"react-cosmos": "^6.2.1",
"react-cosmos-plugin-vite": "^6.2.0",
"react-dom": "19.1.0",
"react-error-boundary": "^6.0.0",
"react-hot-toast": "^2.5.2",
"react-query": "^3.39.3",
"redaxios": "^0.5.1",
"rollup-plugin-visualizer": "^5.12.0",
"s-expression": "^3.1.1",
"serve": "^14.2.4",
"source-map-explorer": "^2.5.3",
"stepts": "^0.0.3",
"tailwind-merge": "^2.6.0",
"tailwindcss": "^3.4.17",
"tailwindcss-animate": "^1.0.7",
"tscircuit": "0.0.3087",
"tsup": "^8.3.5",
"vite": "^7.1.2",
"yargs": "^17.7.2",
"zod": "^3.25.76",
"bun-match-svg": "^0.0.17"
},
"dependencies": {
"@tscircuit/core": "^0.0.2293",
"@tscircuit/eval": "0.0.1744",
"@tscircuit/solver-utils": "^0.0.16",
"debug": "^4.4.0",
"format-si-unit": "^0.0.12",
"schematic-symbols": "^0.0.251"
},
"overrides": {
"circuit-json": "$circuit-json",
"altiumts": "0.0.59"
}
}