Skip to content

Commit

Permalink
export circuit-to-svg/3d
Browse files Browse the repository at this point in the history
  • Loading branch information
DrSensor committed Jan 19, 2025
1 parent d7d3579 commit cde1b4a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/3d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./3d/convert-circuit-json-to-schematic-svg"
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@
"type": "module",
"version": "0.0.101",
"description": "Convert Circuit JSON to SVG",
"main": "dist/index.js",
"exports": {
".": "./dist/index.js",
"./3d": "./dist/3d.js"
},
"files": [
"dist"
],
"scripts": {
"start": "storybook dev -p 6006",
"prepublish": "npm run build",
"build": "tsup-node ./lib/index.ts --format esm --dts --sourcemap",
"build": "tsup-node ./lib/{index,3d}.ts --format esm --dts --sourcemap",
"format": "biome format . --write",
"format:check": "biome format .",
"storybook": "storybook dev -p 6006",
Expand Down Expand Up @@ -49,8 +52,10 @@
"circuit-json": "*",
"schematic-symbols": "*"
},
"optionalDependencies": {
"@tscircuit/3d-viewer": "github:tscircuit/3d-viewer#v0.0.81"
},
"dependencies": {
"@tscircuit/3d-viewer": "github:tscircuit/3d-viewer#v0.0.81",
"@tscircuit/footprinter": "^0.0.91",
"@tscircuit/routing": "^1.3.5",
"@tscircuit/soup-util": "^0.0.41",
Expand Down

0 comments on commit cde1b4a

Please sign in to comment.