- Scaffold Vite React-TS frontend and Tauri v2 shell - Install JointJS (@joint/core), Zustand, Vitest + Testing Library - Configure Vite (fixed port 1420) and Vitest (jsdom, coverage) - Add docs/plan with milestone checklist and JointJS rationale Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"name": "diagrams-opus-tauri",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "oxlint",
|
|
"preview": "vite preview",
|
|
"typecheck": "tsc -b --noEmit",
|
|
"test": "vitest",
|
|
"test:run": "vitest run",
|
|
"test:coverage": "vitest run --coverage",
|
|
"tauri": "tauri"
|
|
},
|
|
"dependencies": {
|
|
"@joint/core": "^4.2.5",
|
|
"@tauri-apps/api": "^2.11.1",
|
|
"@tauri-apps/plugin-dialog": "^2.7.1",
|
|
"@tauri-apps/plugin-fs": "^2.5.1",
|
|
"react": "^19.2.7",
|
|
"react-dom": "^19.2.7",
|
|
"zustand": "^5.0.14"
|
|
},
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "^2.11.4",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/node": "^24.13.2",
|
|
"@types/react": "^19.2.17",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.3",
|
|
"@vitest/coverage-v8": "^3.2.6",
|
|
"jsdom": "^25.0.1",
|
|
"oxlint": "^1.71.0",
|
|
"typescript": "~6.0.2",
|
|
"vite": "^8.1.1",
|
|
"vitest": "^3.2.6"
|
|
},
|
|
"allowScripts": {
|
|
"esbuild@0.28.1": true
|
|
}
|
|
}
|