moved shutdown handler to own library

This commit is contained in:
Bojan Kucera 2025-06-07 10:32:22 -04:00
parent 8d0da5cf5c
commit 97dcd30223
12 changed files with 712 additions and 201 deletions

View file

@ -0,0 +1,27 @@
{
"name": "@stock-bot/shutdown",
"version": "1.0.0",
"description": "Graceful shutdown management for Stock Bot platform",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"clean": "rm -rf dist"
},
"dependencies": {},
"devDependencies": {
"typescript": "^5.0.0",
"@types/node": "^20.0.0"
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
]
}