SchematicViewer now supports inline editing of component values directly on the SVG. Clicking an editable value opens an overlay input that updates the SPICE netlist on commit, triggering an auto-redraw after 800ms debounce. Added DOMPurify for SVG sanitization, netlist-utils for safe value substitution in netlists, and wired schematic generation through the notebook store with generation counters to discard stale responses.
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"name": "spicebook-frontend",
|
|
"version": "2026.02.13",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"build": "astro build",
|
|
"preview": "astro preview"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/check": "^0.9.6",
|
|
"@astrojs/node": "^9.5.3",
|
|
"@astrojs/react": "^4.0.0",
|
|
"@codemirror/autocomplete": "^6.18.0",
|
|
"@codemirror/commands": "^6.7.0",
|
|
"@codemirror/lang-markdown": "^6.3.0",
|
|
"@codemirror/lang-python": "^6.1.0",
|
|
"@codemirror/language": "^6.10.0",
|
|
"@codemirror/state": "^6.5.0",
|
|
"@codemirror/view": "^6.35.0",
|
|
"@lezer/highlight": "^1.2.0",
|
|
"@lezer/lr": "^1.4.0",
|
|
"astro": "^5.0.0",
|
|
"clsx": "^2.1.0",
|
|
"dompurify": "^3.3.1",
|
|
"lucide-react": "^0.468.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"tailwind-merge": "^2.6.0",
|
|
"uplot": "^1.6.31",
|
|
"zustand": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/vite": "^4.0.0",
|
|
"@types/dompurify": "^3.0.5",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-dom": "^19.0.0",
|
|
"tailwindcss": "^4.0.0",
|
|
"typescript": "^5.7.0"
|
|
}
|
|
}
|