Skip to content

Commit

Permalink
Upgrade to repo tools v1.4.7 (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry authored May 2, 2017
1 parent 90c98b5 commit f780df9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 15 deletions.
18 changes: 8 additions & 10 deletions packages/google-cloud-node/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@

# Google Cloud Speech API Node.js Samples

The [Cloud Speech API][speech_docs] enables easy integration of Google speech
recognition technologies into developer applications.
[![Build](https://storage.googleapis.com/cloud-docs-samples-badges/GoogleCloudPlatform/nodejs-docs-samples/nodejs-docs-samples-speech.svg)]()

[speech_docs]: https://cloud.google.com/speech/
The [Cloud Speech API](https://cloud.google.com/speech/docs) enables easy integration of Google speech recognition technologies into developer applications.

## Table of Contents

* [Setup](#setup)
* [Samples](#samples)
* [Recognize](#recognize)
* [Speech Recognition](#speech-recognition)
* [Running the tests](#running-the-tests)

## Setup
Expand All @@ -32,9 +31,10 @@ recognition technologies into developer applications.

## Samples

### Recognize
### Speech Recognition

View the [documentation][recognize_docs] or the [source code][recognize_code].

View the [documentation][recognize_0_docs] or the [source code][recognize_0_code].

__Usage:__ `node recognize.js --help`

Expand Down Expand Up @@ -64,10 +64,8 @@ Examples:
For more information, see https://cloud.google.com/speech/docs
```

**Note:** The `listen` command requires that you have SoX installed and available in your $PATH. See https://www.npmjs.com/package/node-record-lpcm16#dependencies.

[recognize_docs]: https://cloud.google.com/speech/docs
[recognize_code]: recognize.js
[recognize_0_docs]: https://cloud.google.com/speech/docs
[recognize_0_code]: recognize.js

## Running the tests

Expand Down
20 changes: 15 additions & 5 deletions packages/google-cloud-node/samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
"type": "git",
"url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git"
},
"cloud": {
"requiresKeyFile": true,
"requiresProjectId": true
},
"engines": {
"node": ">=4.3.2"
},
Expand All @@ -28,9 +24,23 @@
"yargs": "7.0.2"
},
"devDependencies": {
"@google-cloud/nodejs-repo-tools": "1.3.1",
"@google-cloud/nodejs-repo-tools": "1.4.7",
"ava": "0.19.1",
"proxyquire": "1.7.11",
"sinon": "2.1.0"
},
"cloud-repo-tools": {
"requiresKeyFile": true,
"requiresProjectId": true,
"product": "speech",
"samples": [
{
"id": "recognize",
"name": "Speech Recognition",
"file": "recognize.js",
"docs_link": "https://cloud.google.com/speech/docs",
"usage": "node recognize.js --help"
}
]
}
}

0 comments on commit f780df9

Please sign in to comment.