From 03810c0af46ee75ae210a8b33541563aa6626c70 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Sun, 10 Feb 2019 20:54:34 -0800 Subject: [PATCH] build: create docs test npm scripts (#300) --- packages/google-cloud-speech/package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/google-cloud-speech/package.json b/packages/google-cloud-speech/package.json index eaac4ee83cf..49323cc8700 100644 --- a/packages/google-cloud-speech/package.json +++ b/packages/google-cloud-speech/package.json @@ -37,7 +37,9 @@ "system-test": "mocha system-test/*.js --timeout 600000", "test-no-cover": "mocha test/*.js", "test": "npm run cover", - "fix": "eslint --fix '**/*.js'" + "fix": "eslint --fix '**/*.js'", + "docs-test": "blcl docs -r --exclude www.googleapis.com", + "predocs-test": "npm run docs" }, "dependencies": { "@google-cloud/common": "^0.31.0", @@ -63,6 +65,7 @@ "power-assert": "^1.6.0", "prettier": "^1.13.5", "proxyquire": "^2.1.0", - "sinon": "^7.0.0" + "sinon": "^7.0.0", + "broken-link-checker-local": "^0.2.0" } }