-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
38 lines (38 loc) · 1.5 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
31
32
33
34
35
36
37
38
{
"name": "gcf-line-devbot",
"version": "1.0.0",
"main": "index.js",
"repository": "[email protected]:taichunmin/gcf-line-devbot.git",
"author": "taichunmin <[email protected]>",
"license": "MIT",
"dependencies": {
"@google-cloud/functions-framework": "^3.3.0",
"@josephg/resolvable": "^1.0.1",
"@line/bot-sdk": "^8.4.0",
"axios": "^1.6.7",
"crypto-js": "^4.2.0",
"dayjs": "^1.11.10",
"dotenv": "^16.4.5",
"json5": "^2.2.3",
"lodash": "^4.17.21",
"octokit": "^3.1.2",
"qs": "^6.11.2"
},
"devDependencies": {
"eslint": "^8.56.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.7.0"
},
"scripts": {
"deploy": "gcloud functions deploy gcf-line-devbot --allow-unauthenticated --entry-point=main --env-vars-file=.env.yaml --gen2 --max-instances=1 --memory=128Mi --no-user-output-enabled --region=us-central1 --runtime=nodejs20 --timeout=60s --trigger-http && gcloud run services update gcf-line-devbot --region=us-central1 --cpu 1 --concurrency 80",
"lint": "eslint --ext .js --fix .",
"localhost-run": "autossh -M 0 -o ServerAliveInterval=60 -o ServerAliveCountMax=3 -o StrictHostKeyChecking=no -R 80:localhost:3000 [email protected]",
"repl": "node --experimental-repl-await repl.js",
"start": "functions-framework --port=3000 --target=main --signature-type=http",
"test": "jest"
}
}