From 2fb8bdacb99864c1f3e239ed7cb15a01b698bb54 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Sun, 10 Feb 2019 20:53:23 -0800 Subject: [PATCH] build: create docs test npm scripts (#234) --- packages/google-privacy-dlp/package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/google-privacy-dlp/package.json b/packages/google-privacy-dlp/package.json index 9a46a24a232..389f65d4f9e 100644 --- a/packages/google-privacy-dlp/package.json +++ b/packages/google-privacy-dlp/package.json @@ -37,7 +37,9 @@ "system-test": "mocha system-test/*.js --timeout 600000", "test-no-cover": "mocha", "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-gax": "^0.25.0", @@ -57,6 +59,7 @@ "mocha": "^5.0.0", "nyc": "^13.0.0", "power-assert": "^1.4.4", - "prettier": "^1.7.4" + "prettier": "^1.7.4", + "broken-link-checker-local": "^0.2.0" } }