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
68 lines (68 loc) · 2.05 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 2.05 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "nodejs-docs-samples-monitoring",
"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": "samples lint",
"pretest": "npm run lint",
"system-test": "ava -T 3m --verbose system-test/*.test.js",
"test": "npm run system-test"
},
"dependencies": {
"@google-cloud/monitoring": "0.2.0",
"async": "2.3.0",
"googleapis": "19.0.0",
"yargs": "7.1.0"
},
"devDependencies": {
"@google-cloud/nodejs-repo-tools": "1.4.14",
"ava": "0.19.1",
"proxyquire": "1.7.11",
"sinon": "2.1.0"
},
"cloud-repo-tools": {
"requiresKeyFile": true,
"requiresProjectId": true,
"product": "monitoring",
"samples": [
{
"id": "metrics",
"name": "Metrics",
"file": "metrics.js",
"docs_link": "https://cloud.google.com/monitoring/docs",
"usage": "node metrics.js --help"
},
{
"id": "list",
"name": "Listing resources",
"file": "list_resources.js",
"docs_link": "https://cloud.google.com/monitoring/demos/#hello-world",
"description": "`list_resources.js` is a command-line program to demonstrate connecting to the\nGoogle Monitoring API to retrieve API data.",
"usage": {
"text": "node list_resources <YOUR_PROJECT_ID>"
},
"help": "node list_resources my-cool-project"
},
{
"id": "metrics",
"name": "Custom metrics",
"file": "create_custom_metric.js",
"docs_link": "https://cloud.google.com/monitoring/demos/#custom_metrics",
"description": "`create_custom_metric.js` demonstrates how to create a custom metric, write a\ntimeseries value to it, and read it back.",
"usage": {
"text": "node create_custom_metric <YOUR_PROJECT_ID>"
},
"help": "node create_custom_metric my-cool-project"
}
]
}
}