- Updated .gitignore to exclude generated files and database - Modified package.json to change dev script and add new dependencies - Removed src/index.ts and created app.ts for Elysia server initialization - Added environment variable configuration in config/env.ts - Implemented MQTT adapter in adapter/mqtt.ts for message handling - Created Prisma client in prisma/client.ts and defined schema in prisma/schema.prisma - Added seeding script in prisma/seed.ts for measurement points - Established logging utility in utils/logger.ts for structured logging - Created bed router in routes/bed.ts for handling bed-related routes
21 lines
464 B
JSON
21 lines
464 B
JSON
{
|
|
"name": "elysia",
|
|
"version": "1.0.50",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"dev": "bun run --watch app.ts",
|
|
"start": "bun run app.ts"
|
|
},
|
|
"dependencies": {
|
|
"@elysiajs/cors": "^1.3.3",
|
|
"@prisma/client": "^6.10.1",
|
|
"elysia": "latest",
|
|
"envalid": "^8.0.0",
|
|
"winston": "^3.17.0"
|
|
},
|
|
"devDependencies": {
|
|
"bun-types": "^1.2.17",
|
|
"prisma": "^6.10.1"
|
|
},
|
|
"module": "src/index.js"
|
|
}
|