-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
58 lines (58 loc) · 1.95 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "nodejs-docs-samples-functions-hello-world",
"version": "0.0.1",
"private": true,
"license": "Apache-2.0",
"author": "Google Inc.",
"repository": {
"type": "git",
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"engines": {
"node": ">=4.3.2"
},
"scripts": {
"lint": "semistandard '**/*.js'",
"pretest": "npm run lint",
"e2e-test": "export FUNCTIONS_CMD='gcloud functions' && sh test/updateFunctions.sh && BASE_URL=\"https://$GCP_REGION-$GCLOUD_PROJECT.cloudfunctions.net/\" ava -T 20s --verbose test/*.test.js",
"test": "export FUNCTIONS_CMD='functions-emulator' && sh test/updateFunctions.sh && export BASE_URL=\"http://localhost:8010/$GCLOUD_PROJECT/$GCF_REGION\" && ava -T 20s --verbose -c 1 test/index.test.js",
"system-test": "export FUNCTIONS_CMD='functions-emulator' && sh test/updateFunctions.sh && export BASE_URL=\"http://localhost:8010/$GCLOUD_PROJECT/$GCF_REGION\" && ava -T 20s --verbose test/*.test.js"
},
"dependencies": {
"@google-cloud/nodejs-repo-tools": "^3.0.0",
"@google-cloud/pubsub": "^0.17.0",
"@google-cloud/storage": "^1.7.0",
"@google-cloud/debug-agent": "2.4.0",
"escape-html": "^1.0.3",
"pug": ">=3.0.1",
"safe-buffer": "5.1.1",
"child-process-promise": "^2.2.0",
"firebase-admin": "~6.1.0",
"firebase-functions": "^2.1.0"
},
"devDependencies": {
"@google-cloud/nodejs-repo-tools": "^3.0.0",
"@google-cloud/pubsub": "^0.17.0",
"@google-cloud/storage": "^1.7.0",
"ava": "0.25.0",
"express": "^4.16.3",
"proxyquire": "2.1.0",
"semistandard": "^12.0.1",
"sinon": "4.4.8",
"supertest": "^3.0.0",
"uuid": "^3.1.0",
"yargs": "^11.0.0"
},
"cloud-repo-tools": {
"requiresKeyFile": true,
"requiresProjectId": true,
"requiredEnvVars": [
"BASE_URL",
"GCLOUD_PROJECT",
"GCF_REGION",
"FUNCTIONS_TOPIC",
"FUNCTIONS_BUCKET",
"FUNCTIONS_CMD"
]
}
}