-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) Β· 2.52 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) Β· 2.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "unthread-telegram-bot",
"version": "1.1.3",
"description": "Official Unthread integration for Telegram - Transform private groups into comprehensive support ticket hubs with real-time bidirectional communication.",
"keywords": [
"telegram",
"bot",
"unthread",
"customer-support",
"ticket-management",
"helpdesk",
"support-bot",
"chat-integration",
"webhook",
"typescript"
],
"author": "Waren Gonzaga <opensource@warengonzaga.com> (https://warengonzaga.com)",
"contributors": [
"WG Tech Labs <opensource@wgtechlabs.com> (https://wgtechlabs.com)"
],
"license": "GPL-3.0",
"main": "dist/index.js",
"type": "module",
"private": true,
"engines": {
"node": "^22.0.0 || ^24.0.0 || ^26.0.0",
"bun": ">=1.0.0"
},
"scripts": {
"preinstall": "npx only-allow bun",
"clean": "rm -rf dist",
"build": "tsc && cp src/database/schema.sql dist/database/",
"type-check": "tsc --noEmit",
"start": "node dist/index.js",
"dev": "nodemon",
"dev:watch": "concurrently \"bunx tsc --watch\" \"nodemon dist/index.js\"",
"docker:build": "docker build -t unthread-telegram-bot .",
"docker:build:secure": "docker build --no-cache --pull -t unthread-telegram-bot .",
"docker:build:sbom": "docker build --sbom=true --provenance=mode=max -t unthread-telegram-bot .",
"docker:run": "docker run --env-file .env unthread-telegram-bot",
"sbom:generate": "bash scripts/generate-sbom.sh unthread-telegram-bot:latest",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"validate:deadcode": "bunx ts-prune && bunx depcheck",
"validate:unused": "biome check .",
"test": "bun run ./scripts/run-tests.ts",
"test:watch": "bun test --watch --isolate",
"test:coverage": "bun test --coverage --isolate"
},
"dependencies": {
"@wgtechlabs/log-engine": "2.3.1",
"dotenv": "^17.4.2",
"form-data": "^4.0.6",
"node-fetch": "3.3.2",
"pg": "^8.16.2",
"redis": "^6.0.0",
"telegraf": "^4.16.3",
"uuid": "14.0.2",
"zod": "4.4.3"
},
"devDependencies": {
"@biomejs/biome": "^2.5.1",
"@types/node": "26.2.0",
"@types/pg": "8.23.1",
"concurrently": "10.0.5",
"depcheck": "^1.4.7",
"nodemon": "^3.1.10",
"ts-prune": "^0.10.3",
"typescript": "7.0.2"
},
"overrides": {
"cross-spawn": "7.0.6",
"brace-expansion": "^2.1.2",
"form-data": "^4.0.6",
"glob": "10.5.0",
"js-yaml": "4.1.1",
"lodash": "^4.18.0",
"flatted": "^3.4.2",
"yaml": "^1.10.3"
}
}