From d1f85be9a58eacf023b0903f7255e8f9a2ce4727 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Sun, 10 Feb 2019 20:53:18 -0800 Subject: [PATCH] build: create docs test npm scripts (#279) --- packages/google-cloud-dialogflow/package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/google-cloud-dialogflow/package.json b/packages/google-cloud-dialogflow/package.json index 1ed83c48436..ab06c2a2f30 100644 --- a/packages/google-cloud-dialogflow/package.json +++ b/packages/google-cloud-dialogflow/package.json @@ -38,7 +38,9 @@ "test": "npm run cover", "system-test": "mocha system-test/ --timeout 600000", "all-test": "npm test && npm run system-test && npm run samples-test", - "fix": "eslint '**/*.js' --fix" + "fix": "eslint '**/*.js' --fix", + "docs-test": "blcl docs -r --exclude www.googleapis.com", + "predocs-test": "npm run docs" }, "dependencies": { "google-gax": "^0.25.0", @@ -59,6 +61,7 @@ "nyc": "^13.0.0", "power-assert": "^1.4.4", "prettier": "^1.7.4", - "through2": "^3.0.0" + "through2": "^3.0.0", + "broken-link-checker-local": "^0.2.0" } }