Files
web-cad/frontend/package.json
T
Agent Zero 05ccebad8d Replace frontend with deployed TS version from a08dd73
- Restore TS frontend source (canvas, tools, CRDT, components, services)
- Keep 5 JSX components that TS code depends on (CADCanvas, LayerPanel, BlockLibrary, PluginRegistry, Toolbar)
- Keep JS services (api.js, blockService.js) that components depend on
- Fix vite/plugin-react version mismatch (downgrade to v4 for vite 6)
- Add axios dependency
- Skip tsc in build script (vite/esbuild handles transpilation)
- Fix index.html lang=de, favicon path
- Add vite proxy config for /api and /ws
- Backend unchanged (already from deployed containers)
2026-06-28 02:16:58 +02:00

40 lines
1.1 KiB
JSON

{
"name": "web-cad-frontend",
"version": "1.0.0",
"description": "Frontend for Web CAD application",
"main": "index.js",
"scripts": {
"dev": "vite",
"build": "vite build",
"test": "vitest",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"format": "prettier --write ."
},
"dependencies": {
"axios": "^1.18.1",
"fabric": "^5.3.0",
"jspdf": "^2.5.2",
"rbush": "^3.0.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"y-websocket": "^2.0.4",
"yjs": "^13.6.20"
},
"devDependencies": {
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@vitejs/plugin-react": "^4.7.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.4.20",
"prettier": "^3.0.0",
"typescript": "^5.0.0",
"vite": "^6.0.0",
"vitest": "^2.0.0"
}
}