-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
30 lines (30 loc) · 1 KB
/
package.json
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
{
"name": "lowdiebot",
"version": "0.1.0",
"author": "Enzo Santos",
"repository": {
"type": "git",
"url": "https://github.com/enzo-santos/lowdie.git"
},
"main": "dist/lowdie/entrypoints/telegram.js",
"scripts": {
"build": "tsc",
"local": "npm run build && node dist/lowdie/entrypoints/local.js",
"host": "npm run build && node dist/lowdie/entrypoints/telegram.js",
"deploy": "npm run build && gcloud functions deploy telegramLowdieWebhook --gen2 --region=us-central1 --runtime=nodejs18 --entry-point=lowdieTelegramWebhook --source=dist/lowdie/entrypoints/telegram.js --trigger-http --allow-unauthenticated --max-instances=30"
},
"engines": {
"node": ">=12.0.0"
},
"description": "A bot who plays games.",
"devDependencies": {
"typescript": "^5.0.4",
"@types/node": "^18.16.3",
"@types/node-telegram-bot-api": "^0.61.6"
},
"dependencies": {
"@google-cloud/functions-framework": "^3.2.0",
"dotenv": "^16.0.3",
"node-telegram-bot-api": "^0.53.0"
}
}