-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
28 lines (28 loc) · 1007 Bytes
/
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
{
"name": "chatbot",
"version": "1.0.0",
"main": "index.js",
"author": "Sam Lanning <[email protected]>",
"license": "MIT",
"dependencies": {
"@slack/web-api": "^5.8.1",
"@types/express": "^4.17.6",
"@types/node-fetch": "^2.5.7",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"firebase": "^7.14.4",
"googleapis": "^51.0.0",
"node-fetch": "^2.6.1",
"typescript": "^3.9.2"
},
"scripts": {
"clean": "rm -rf build",
"build": "yarn run clean && tsc --build src/tsconfig.json",
"start": "node build",
"gcp-upload": "gcloud builds submit --tag gcr.io/reach4help/reach4help-chatbot .",
"gcp-deploy-resource": "kubectl apply -f deployment.yaml",
"gcp-deploy-service": "kubectl apply -f service.yaml",
"gcp-upload-secrets": "kubectl create secret generic chatbot --from-env-file ./.env.secrets --dry-run -o yaml | kubectl apply -f -",
"deploy": "yarn run gcp-upload && yarn run gcp-deploy-resource && yarn run gcp-deploy-service"
}
}