Set up electron-vite build (main/preload/renderer split), TypeScript project references, Vitest config, and a secure preload bridge exposing save/open diagram IPC. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"name": "pipeline-diagram-editor",
|
|
"version": "0.1.0",
|
|
"description": "Electron diagram editor for pipeline / network diagrams with SVG symbol nodes, typed ports, orthogonal routing and animated mock flow.",
|
|
"main": "out/main/index.js",
|
|
"author": "",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "electron-vite dev",
|
|
"build": "electron-vite build",
|
|
"preview": "electron-vite preview",
|
|
"start": "electron-vite preview",
|
|
"typecheck": "tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tsconfig.web.json",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"dependencies": {
|
|
"@joint/core": "^4.0.4"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/dom": "^10.4.0",
|
|
"@testing-library/react": "^16.1.0",
|
|
"@types/react": "^18.3.12",
|
|
"@types/react-dom": "^18.3.1",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"electron": "^33.2.1",
|
|
"electron-vite": "^2.3.0",
|
|
"jsdom": "^25.0.1",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"typescript": "^5.7.2",
|
|
"vite": "^5.4.11",
|
|
"vitest": "^2.1.8"
|
|
}
|
|
}
|