5aa9f53468
- GET /api/sdk: the running package's public API (names, parameters, which are required, summaries) from inspect, for scad, scad.ql and scad.std.<module> - editor-web/src/lib/sdk-complete.ts: member completion (scad., scad.ql., ql., Q.), snippet on accepting a function or typing ( after a known name, name= completion inside calls (required first, above Python's builtins), Tab accepts a suggestion and then moves between parameters - the editor wrapper rebuilt its configuration on every render (new onChange / basicSetup each time), which drops a snippet in progress; both are stable now - popup styled to the editor's themes Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"name": "simplecad-editor-web",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc --noEmit -p tsconfig.json && vite build",
|
|
"lint": "oxlint",
|
|
"preview": "vite preview",
|
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/autocomplete": "^6.20.3",
|
|
"@codemirror/lang-python": "^6.2.1",
|
|
"@codemirror/language": "^6.13.1",
|
|
"@codemirror/state": "^6.7.6",
|
|
"@codemirror/theme-one-dark": "^6.1.3",
|
|
"@codemirror/view": "^6.43.14",
|
|
"@lezer/highlight": "^1.2.5",
|
|
"@tailwindcss/vite": "^4.3.3",
|
|
"@types/three": "^0.186.0",
|
|
"@uiw/react-codemirror": "^4.25.12",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"fflate": "^0.8.3",
|
|
"lucide-react": "^1.48.0",
|
|
"react": "^19.2.8",
|
|
"react-dom": "^19.2.8",
|
|
"react-resizable-panels": "^4.13.3",
|
|
"tailwind-merge": "^3.7.0",
|
|
"tailwindcss": "^4.3.3",
|
|
"three": "^0.186.1",
|
|
"tw-animate-css": "^1.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@radix-ui/react-scroll-area": "^1.2.18",
|
|
"@radix-ui/react-separator": "^1.1.15",
|
|
"@radix-ui/react-slider": "^1.4.7",
|
|
"@radix-ui/react-slot": "^1.3.3",
|
|
"@radix-ui/react-tabs": "^1.1.21",
|
|
"@radix-ui/react-tooltip": "^1.2.16",
|
|
"@types/node": "^24.13.3",
|
|
"@types/react": "^19.2.18",
|
|
"@types/react-dom": "^19.2.7",
|
|
"@vitejs/plugin-react": "^6.1.1",
|
|
"oxlint": "^1.81.0",
|
|
"typescript": "~6.0.2",
|
|
"vite": "^8.3.0"
|
|
}
|
|
}
|