From c11158b90344fbd985bd78804f1f7991d9530c98 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Sun, 10 Feb 2019 20:53:07 -0800 Subject: [PATCH] build: create docs test npm scripts (#264) --- packages/google-cloud-compute/package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/google-cloud-compute/package.json b/packages/google-cloud-compute/package.json index edb3da4e46b..0e415e96855 100644 --- a/packages/google-cloud-compute/package.json +++ b/packages/google-cloud-compute/package.json @@ -31,7 +31,9 @@ "samples-test": "cd samples/ && npm link ../ && npm test && cd ../", "system-test": "mocha system-test/*.js --timeout 600000", "test": "nyc mocha", - "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.5.0", "prettier": "^1.13.5", "proxyquire": "^2.0.1", - "uuid": "^3.2.1" + "uuid": "^3.2.1", + "broken-link-checker-local": "^0.2.0" } }