Add typed event bus (6 events: timer.created/fired/completed, routine.started/completed, household.created) with Promise.allSettled isolation. Wire webhook subscriber bridge using @bytelyst/webhook-dispatch for HMAC-signed delivery with retry. All 219 tests pass.
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "@chronomind/backend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"packageManager": "pnpm@10.6.5",
|
|
"description": "ChronoMind product-specific backend — timers, routines, households, shared timers",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/server.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/server.js",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint src/"
|
|
},
|
|
"dependencies": {
|
|
"@bytelyst/auth": "*",
|
|
"@bytelyst/config": "*",
|
|
"@bytelyst/cosmos": "*",
|
|
"@bytelyst/datastore": "*",
|
|
"@bytelyst/backend-config": "*",
|
|
"@bytelyst/backend-flags": "*",
|
|
"@bytelyst/backend-telemetry": "*",
|
|
"@bytelyst/errors": "*",
|
|
"@bytelyst/field-encrypt": "*",
|
|
"@bytelyst/fastify-auth": "*",
|
|
"@bytelyst/fastify-core": "*",
|
|
"@bytelyst/webhook-dispatch": "*",
|
|
"@azure/cosmos": "^4.2.0",
|
|
"fastify": "5.7.4",
|
|
"jose": "^6.0.8",
|
|
"zod": "^3.24.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.12.0",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.3",
|
|
"vitest": "^3.0.5",
|
|
"eslint": "^9.0.0",
|
|
"typescript-eslint": "^8.0.0"
|
|
}
|
|
}
|