Files
pmp-tool/package.json
xiaohei 15a70e4ecf
Some checks failed
CI / lint-and-typecheck (push) Failing after 16m21s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
feat: database layer - PostgreSQL schema + memory fallback
- drizzle-orm + postgres dependencies
- Full schema: 12 tables covering all modules
- Graceful fallback: no DATABASE_URL → memory mode
- drizzle-kit config for migrations
- Memory store as generic CRUD layer
- dev.ts auto-initializes DB on startup
2026-04-12 19:05:03 +08:00

42 lines
1.2 KiB
JSON

{
"name": "flowpilot",
"version": "0.5.0",
"description": "FlowPilot - AI-driven project management flow engine",
"type": "module",
"scripts": {
"dev": "concurrently \"npm run dev:server\" \"npm run dev:client\"",
"dev:server": "tsx watch src/server/main.ts",
"dev:client": "vite",
"build": "tsc && vite build",
"lint": "eslint src/ --ext .ts,.tsx",
"test": "vitest run",
"typecheck": "tsc --noEmit",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate"
},
"dependencies": {
"@arco-design/web-react": "^2.66.0",
"@hono/node-server": "^1.19.13",
"@larksuiteoapi/node-sdk": "^1.60.0",
"drizzle-orm": "^0.45.2",
"hono": "^4.7.0",
"postgres": "^3.4.9",
"react": "^18.3.0",
"react-dom": "^18.3.0"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@vitejs/plugin-react": "^4.3.0",
"concurrently": "^9.0.0",
"eslint": "^9.0.0",
"tsx": "^4.19.0",
"typescript": "^5.7.0",
"vite": "^6.0.0",
"vitest": "^3.0.0"
}
}