This repository was archived by the owner on Feb 22, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.72 KB
/
Copy pathpackage.json
File metadata and controls
45 lines (45 loc) · 1.72 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
{
"name": "0002-discord-bot",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "webpack && cp -f ./package.json ./dist/main && cp -f ./.env ./dist/main && cp -f ./package.json ./dist/compute && cp -f ./.env ./dist/compute",
"register": "ts-node -r tsconfig-paths/register ./scripts/register.ts",
"lint": "eslint --ext .ts --ignore-path .gitignore --fix",
"functions:deploy": "gcloud functions deploy main --source=./dist/main --entry-point=main --trigger-http --runtime=nodejs16 --region=asia-northeast1 --allow-unauthenticated",
"functions:destroy": "gcloud functions delete main",
"functions:compute:deploy": "gcloud functions deploy compute --source=./dist/compute --entry-point=main --runtime=nodejs16 --region=asia-northeast1 --allow-unauthenticated",
"functions:compute:destroy": "gcloud functions delete compute"
},
"keywords": [],
"author": "",
"license": "MIT",
"dependencies": {
"@google-cloud/compute": "^3.1.2",
"@google-cloud/pubsub": "^2.19.0",
"discord-interactions": "^3.2.0",
"discord.js": "^13.6.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"node-fetch": "^2.6.1",
"typescript": "^4.6.3"
},
"devDependencies": {
"@types/dotenv": "^8.2.0",
"@types/eslint": "^7.2.7",
"@types/express": "^4.17.11",
"@types/node": "^14.14.37",
"@types/node-fetch": "^2.5.8",
"@types/webpack-node-externals": "^2.5.1",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"eslint": "^7.23.0",
"ts-loader": "^8.1.0",
"ts-node": "^9.1.1",
"tsconfig-paths": "^3.9.0",
"webpack": "^5.28.0",
"webpack-cli": "^4.6.0",
"webpack-node-externals": "^2.5.2"
}
}