-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.17 KB
/
package.json
File metadata and controls
47 lines (47 loc) · 1.17 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": ">=8"
},
"scripts": {
"start": "node app.js",
"test": "repo-tools test app && mocha */*.test.js --timeout=30000 --exit"
},
"dependencies": {
"@google-cloud/pubsub": "^0.28.0",
"body-parser": "^1.18.3",
"express": "^4.16.3",
"pug": "^2.0.1",
"safe-buffer": "^5.1.2"
},
"devDependencies": {
"@google-cloud/nodejs-repo-tools": "^3.0.0",
"mocha": "^6.0.0",
"uuid": "^3.3.2"
},
"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"
]
}
}
}
}