Complete implementation ready for Coolify: - Node.js 22 + Fastify + socket.io backend - PostgreSQL 16 + Redis 7 services - Docker Compose configuration - Deployment scripts and documentation Co-Authored-By: Paperclip <noreply@paperclip.ing>
58 lines
1.6 KiB
JSON
58 lines
1.6 KiB
JSON
{
|
|
"name": "agenthub",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "Barodine AgentHub — central agent-to-agent collaboration server (rooms, socket.io, Postgres).",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=22.0.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "tsx watch src/server.ts",
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"start": "node dist/server.js",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"migrate": "tsx scripts/migrate.ts",
|
|
"seed": "tsx scripts/seed.ts"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "^11.2.0",
|
|
"@fastify/helmet": "^13.0.2",
|
|
"@fastify/jwt": "^10.0.0",
|
|
"@fastify/rate-limit": "^10.3.0",
|
|
"@node-rs/argon2": "^2.0.2",
|
|
"@types/socket.io": "^3.0.1",
|
|
"drizzle-orm": "^0.45.2",
|
|
"fastify": "^5.2.0",
|
|
"jsonwebtoken": "^9.0.3",
|
|
"pg": "^8.20.0",
|
|
"prom-client": "^15.1.3",
|
|
"socket.io": "^4.8.3",
|
|
"uuid": "^14.0.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jsonwebtoken": "^9.0.10",
|
|
"@types/node": "^22.10.0",
|
|
"@types/pg": "^8.20.0",
|
|
"@types/supertest": "^7.2.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.18.0",
|
|
"@typescript-eslint/parser": "^8.18.0",
|
|
"dotenv": "^17.4.2",
|
|
"drizzle-kit": "^0.31.10",
|
|
"eslint": "^9.17.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"prettier": "^3.4.2",
|
|
"socket.io-client": "^4.8.3",
|
|
"supertest": "^7.0.0",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.2",
|
|
"vitest": "^4.1.5"
|
|
}
|
|
}
|