Skip to content

Commit

Permalink
Upgrade repo tools and regenerate READMEs. (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry authored May 10, 2017
1 parent f575158 commit 7be7f71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
14 changes: 5 additions & 9 deletions packages/google-cloud-monitoring/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
1. Read [Prerequisites][prereq] and [How to run a sample][run] first.
1. Install dependencies:

With `npm`:
With **npm**:

npm install

With `yarn`:
With **yarn**:

yarn install

Expand All @@ -35,7 +35,6 @@

### Metrics


View the [documentation][metrics_0_docs] or the [source code][metrics_0_code].

__Usage:__ `node metrics.js --help`
Expand Down Expand Up @@ -84,7 +83,6 @@ For more information, see https://cloud.google.com/monitoring/docs

### Listing resources


View the [documentation][list_1_docs] or the [source code][list_1_code].

`list_resources.js` is a command-line program to demonstrate connecting to the
Expand All @@ -101,7 +99,6 @@ node list_resources my-cool-project

### Custom metrics


View the [documentation][metrics_2_docs] or the [source code][metrics_2_code].

`create_custom_metric.js` demonstrates how to create a custom metric, write a
Expand All @@ -118,15 +115,14 @@ node create_custom_metric my-cool-project

## Running the tests

1. Set the `GCLOUD_PROJECT` and `GOOGLE_APPLICATION_CREDENTIALS` environment
variables.
1. Set the **GCLOUD_PROJECT** and **GOOGLE_APPLICATION_CREDENTIALS** environment variables.

1. Run the tests:

With `npm`:
With **npm**:

npm test

With `yarn`:
With **yarn**:

yarn test
2 changes: 1 addition & 1 deletion packages/google-cloud-monitoring/samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"yargs": "7.1.0"
},
"devDependencies": {
"@google-cloud/nodejs-repo-tools": "1.4.7",
"@google-cloud/nodejs-repo-tools": "1.4.13",
"ava": "0.19.1",
"proxyquire": "1.7.11",
"sinon": "2.1.0"
Expand Down

0 comments on commit 7be7f71

Please sign in to comment.