-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
43 lines (43 loc) · 1.67 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
39
40
41
42
43
{
"name": "fib",
"version": "1.0.0",
"description": "Fibonacci as a service",
"main": "lib/index.js",
"scripts": {
"start": "node lib/index.js",
"serve": "GOOGLE_CLOUD_PROJECT=\"$(gcloud config get-value core/project)\" node lib/index.js",
"build": "./node_modules/.bin/tsc",
"build-docker": "gcloud builds submit --tag gcr.io/$(gcloud config get-value project)/fibonacci",
"deploy-gae": "gcloud app deploy",
"deploy-gcf": "gcloud functions deploy fibonacci --set-env-vars GOOGLE_CLOUD_PROJECT=$(gcloud config get-value core/project) --entry-point=func --trigger-http --runtime=nodejs10",
"deploy-run": "gcloud run deploy --image gcr.io/$(gcloud config get-value project)/fibonacci --platform managed --update-env-vars=GOOGLE_CLOUD_PROJECT=$(gcloud config get-value core/project)"
},
"repository": {
"type": "git",
"url": "git+https://github.com/inlined/fib.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/inlined/fib/issues"
},
"homepage": "https://github.com/inlined/fib#readme",
"dependencies": {
"@google-cloud/functions-framework": "^1.5.1",
"@google-cloud/opentelemetry-cloud-trace-exporter": "^0.3.0",
"@opentelemetry/api": "^0.8.3",
"@opentelemetry/node": "^0.8.3",
"@opentelemetry/plugin-express": "^0.8.0",
"@opentelemetry/plugin-grpc": "^0.8.3",
"@opentelemetry/plugin-http": "^0.8.3",
"@opentelemetry/plugin-https": "^0.8.3",
"@types/express": "^4.17.6",
"@types/request-promise": "^4.1.46",
"body-parser": "^1.19.0",
"express": "^4.17.1",
"request": "^2.88.2",
"request-promise": "^4.2.5",
"typescript": "^3.9.5"
}
}