{ "name": "outsourcing-risk-assessment", "version": "0.1.0", "private": true, "description": "外包项目风险评估 AI 智能体 - 领域引擎与前端表现层", "type": "module", "engines": { "node": ">=20" }, "scripts": { "build": "tsc --build && tsc -p web/tsconfig.json --noEmit", "dev": "vite", "build:web": "tsc -p web/tsconfig.json --noEmit && vite build", "preview": "vite preview", "typecheck": "tsc --noEmit && tsc -p web/tsconfig.json --noEmit", "test": "vitest run", "test:watch": "vitest", "e2e": "node scripts/e2e-full.mjs", "migrate": "node-pg-migrate -m migrations", "migrate:up": "node-pg-migrate -m migrations up", "migrate:down": "node-pg-migrate -m migrations down", "lint": "eslint \"src/**/*.ts\" \"web/**/*.{ts,tsx}\"", "lint:fix": "eslint \"src/**/*.ts\" \"web/**/*.{ts,tsx}\" --fix" }, "dependencies": { "@hono/node-server": "^2.0.4", "@types/pg": "^8.20.0", "hono": "^4.12.25", "node-pg-migrate": "^8.0.4", "nodejieba": "^3.5.8", "pg": "^8.21.0", "react": "^18.3.1", "react-dom": "^18.3.1", "react-router-dom": "^6.28.0", "recharts": "^2.13.3", "zustand": "^5.0.14" }, "devDependencies": { "@eslint/js": "^9.17.0", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.0.1", "@testing-library/user-event": "^14.5.2", "@types/node": "^25.9.2", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@vitejs/plugin-react": "^4.3.4", "axe-core": "^4.10.2", "eslint": "^9.17.0", "eslint-plugin-react": "^7.37.2", "eslint-plugin-react-hooks": "^5.1.0", "fast-check": "^3.23.1", "jsdom": "^25.0.1", "playwright": "^1.58.2", "typescript": "^5.7.2", "typescript-eslint": "^8.18.0", "vitest": "^2.1.8", "vitest-axe": "^0.1.0" } }