Thin Hono API so the Iran-hosted backend can POST ops alerts here and this VPS calls Telegram Bot API.
28 lines
688 B
JSON
28 lines
688 B
JSON
{
|
|
"name": "ghabilee-telegram-relay",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "External Telegram sendMessage relay for Ghabilee ops alerts (Iran backend → foreign VPS).",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc -p tsconfig.json",
|
|
"start": "node dist/index.js",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"test": "tsx --test src/**/*.test.ts"
|
|
},
|
|
"dependencies": {
|
|
"@hono/node-server": "^1.14.4",
|
|
"hono": "^4.7.11",
|
|
"zod": "^3.25.67"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.15.32",
|
|
"tsx": "^4.20.3",
|
|
"typescript": "^5.8.3"
|
|
}
|
|
}
|