local-ai-platform/package.json
Brandon Wolfgang 66dc2b2065 feat: implement Phase 1 API foundation and testing
- Configure the Node.js test runner with tsx
- Add endpoint tests for health, readiness, and echo request validation
- Cover input length boundaries, invalid message types, unknown routes, and unexpected errors
- Extract the Fastify app factory to support isolated testing without starting the server
- Add centralized error handling and consistent 404 responses
- Guard server startup to prevent listeners from opening when the module is imported
2026-10-21 21:32:40 -05:00

25 lines
525 B
JSON

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