From d8f0f1eff0dd6016a844916a0a7dce6c04935c1e Mon Sep 17 00:00:00 2001 From: Paul Selden Date: Sun, 28 Oct 2018 22:31:30 -0400 Subject: [PATCH] fix: Exclude spec files from typedoc generation Previously would fill your documentation menu with garbage from your spec files. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a81dddb..51628ca 100644 --- a/package.json +++ b/package.json @@ -45,8 +45,8 @@ "cov:send": "nyc report --reporter=lcov > coverage.lcov && codecov", "cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100", "doc": "run-s doc:html && opn build/docs/index.html", - "doc:html": "typedoc src/ --target ES6 --mode file --out build/docs", - "doc:json": "typedoc src/ --target ES6 --mode file --json build/docs/typedoc.json", + "doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs", + "doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json", "doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs", "version": "standard-version", "reset": "git clean -dfx && git reset --hard && npm i",