local-ai-platform/package.json
Brandon Wolfgang 61978acb02 feat: add PostgreSQL document persistence
- Configure a shared PostgreSQL connection pool with connection and idle timeouts
- Add repository functions to create documents and store embedded chunks
- Persist chunks and mark documents as completed within a transaction
- Roll back failed chunk storage operations while preserving the original error
- Load environment variables from .env in development and production commands
2026-10-22 10:20:32 -05:00

28 lines
659 B
JSON

{
"name": "local-ai-platform",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "tsx --test src/**/*.test.ts",
"dev": "node --env-file=.env --import tsx/esm --watch src/server.ts",
"build": "tsc -p tsconfig.json",
"start": "node --env-file=.env dist/server.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "module",
"dependencies": {
"fastify": "^5.12.7",
"node-pg-migrate": "^9.0.0",
"pg": "^8.23.1",
"zod": "^4.6.7"
},
"devDependencies": {
"@types/node": "^26.6.5",
"@types/pg": "^8.23.1",
"tsx": "^4.23.15",
"typescript": "^7.0.2"
}
}