|
8 | 8 | "type": "git", |
9 | 9 | "url": "https://github.com/GoogleCloudPlatform/nodejs-docs-samples.git" |
10 | 10 | }, |
11 | | - "cloud": { |
12 | | - "requiresKeyFile": true, |
13 | | - "requiresProjectId": true |
14 | | - }, |
15 | 11 | "engines": { |
16 | 12 | "node": ">=4.3.2" |
17 | 13 | }, |
| 14 | + "semistandard": { |
| 15 | + "ignore": [ |
| 16 | + "node_modules" |
| 17 | + ] |
| 18 | + }, |
18 | 19 | "scripts": { |
19 | | - "lint": "samples lint \"*.js\" \"system-test/*.js\" \"slackbot/*.js\" \"slackbot/system-test/*.js\"", |
| 20 | + "lint": "samples lint", |
20 | 21 | "pretest": "npm run lint", |
21 | 22 | "system-test": "ava -T 20s --verbose system-test/*.test.js", |
22 | 23 | "test": "npm run system-test" |
|
27 | 28 | "yargs": "7.1.0" |
28 | 29 | }, |
29 | 30 | "devDependencies": { |
30 | | - "@google-cloud/nodejs-repo-tools": "1.3.1", |
| 31 | + "@google-cloud/nodejs-repo-tools": "1.4.7", |
31 | 32 | "ava": "0.19.1", |
32 | 33 | "proxyquire": "1.7.11", |
33 | 34 | "sinon": "2.1.0" |
| 35 | + }, |
| 36 | + "cloud-repo-tools": { |
| 37 | + "requiresKeyFile": true, |
| 38 | + "requiresProjectId": true, |
| 39 | + "product": "nl", |
| 40 | + "samples": [ |
| 41 | + { |
| 42 | + "id": "analyze-v1", |
| 43 | + "name": "Analyze v1", |
| 44 | + "file": "analyze.v1.js", |
| 45 | + "docs_link": "https://cloud.google.com/natural-language/docs/", |
| 46 | + "usage": "node analyze.v1.js --help" |
| 47 | + }, |
| 48 | + { |
| 49 | + "id": "analyze-v1beta2", |
| 50 | + "name": "Analyze v1beta2", |
| 51 | + "file": "analyze.v1beta2.js", |
| 52 | + "docs_link": "https://cloud.google.com/natural-language/docs/", |
| 53 | + "usage": "node analyze.v1beta2.js --help" |
| 54 | + }, |
| 55 | + { |
| 56 | + "id": "slackbot", |
| 57 | + "name": "Slack Bot", |
| 58 | + "ref": "slackbot/README.md" |
| 59 | + } |
| 60 | + ] |
34 | 61 | } |
35 | 62 | } |
0 commit comments