Files
WeClone/web/package.json
xming521 ad288b7bd7 Refactor profile web UI into atlas/review modules and improve graph layout
- Split the frontend into atlas/ and review/ modules with a shared api client,
  and add Prettier, ESLint and node tests for graph layout and data helpers
- Lay out expanded dimensions as separate clusters around the root
- Let the force simulation cool slowly after a node drag instead of stopping abruptly
- Reopening the collapsed root resets the map to its initial layout
- Use one loading screen style for the page and canvas loading states
- Clear stale errors when retrying fact history
- Rebuild weclone/web/dist

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 20:09:16 +08:00

43 lines
1.2 KiB
JSON

{
"name": "weclone-profile-graph",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite --host 127.0.0.1 --port 5174 --strictPort",
"build": "tsc -b && vite build",
"preview": "vite preview --host 127.0.0.1",
"test": "node --experimental-strip-types --test tests/*.test.ts",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint ."
},
"dependencies": {
"@antv/g6": "5.1.1",
"@radix-ui/react-select": "^2.4.1",
"@radix-ui/react-tabs": "^1.2.1",
"@radix-ui/react-tooltip": "^1.2.7",
"d3-force": "3.0.0",
"lucide-react": "^0.468.0",
"motion": "^12.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"zustand": "^5.0.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/d3-force": "^3.0.10",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^4.7.0",
"eslint": "^10.12.0",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^17.13.0",
"prettier": "^3.9.10",
"typescript": "^5.7.0",
"typescript-eslint": "^8.71.2",
"vite": "^6.3.0"
}
}