forked from GoogleCloudPlatform/nodejs-docs-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.15 KB
/
Copy pathpackage.json
File metadata and controls
47 lines (47 loc) · 1.15 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
46
47
{
"name": "appengine-pubsub",
"description": "Node.js Google Cloud PubSub sample for Google App Engine",
"version": "0.0.1",
"private": true,
"license": "Apache Version 2.0",
"author": "Google Inc.",
"engines": {
"node": ">=4.3.2"
},
"scripts": {
"start": "node app.js",
"test": "samples test app && ava -T 30s */*.test.js"
},
"dependencies": {
"@google-cloud/pubsub": "0.13.2",
"body-parser": "1.17.2",
"express": "4.15.4",
"pug": "2.0.0-rc.3",
"safe-buffer": "5.1.1"
},
"devDependencies": {
"@google-cloud/nodejs-repo-tools": "1.4.17",
"ava": "0.22.0",
"uuid": "3.1.0"
},
"cloud-repo-tools": {
"requiresProjectId": true,
"requiresKeyFile": true,
"test": {
"app": {
"requiredEnvVars": [
"PUBSUB_TOPIC",
"PUBSUB_VERIFICATION_TOKEN"
],
"msg": "Messages received by this instance",
"substitutions": "YOUR_TOPIC_NAME=$PUBSUB_TOPIC,YOUR_VERIFICATION_TOKEN=$PUBSUB_VERIFICATION_TOKEN"
},
"build": {
"requiredEnvVars": [
"PUBSUB_TOPIC",
"PUBSUB_VERIFICATION_TOKEN"
]
}
}
}
}