-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathpackage.json
More file actions
23 lines (23 loc) · 819 Bytes
/
Copy pathpackage.json
File metadata and controls
23 lines (23 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"name": "autoreactionbot",
"version": "3.0",
"description": "A Telegram Bot that automatically reacts to posts in Telegram Channels, groups, and private messages, developed as a serverless application.",
"main": "api/index.js",
"type": "module",
"scripts": {
"start": "node api/index.js",
"vercel": "vercel dev",
"cloudflare": "wrangler dev",
"webhooks": "node -e \"fetch('http://localhost:3000/set-webhooks',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({base_url:process.argv[1]||'http://localhost:3000'})}).then(r=>r.json()).then(console.log).catch(console.error)\""
},
"dependencies": {
"dotenv": "^17.2.3",
"express": "^5.2.1"
},
"optionalDependencies": {
"@upstash/redis": "^1.34.3"
},
"engines": {
"node": ">=18.x"
}
}