From f36d550963d515c71329571ca7b7abadac3a8202 Mon Sep 17 00:00:00 2001 From: MapleLeaf <19603573+itsMapleLeaf@users.noreply.github.com> Date: Tue, 28 Dec 2021 13:09:55 -0600 Subject: [PATCH] new docs script --- package.json | 2 +- typedoc.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e0681c4..c874003 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "coverage": "pnpm test -- --coverage", "typecheck": "tsc --noEmit", "playground": "nodemon --exec esmo --ext ts,tsx ./playground/main.tsx", - "docs": "typedoc library/main.ts --out docs --excludePrivate --excludeProtected --excludeInternal" + "docs": "typedoc && git add docs && git commit -m 'docs'" }, "dependencies": { "@types/node": "*", diff --git a/typedoc.json b/typedoc.json index 1d2a010..d27ecd2 100644 --- a/typedoc.json +++ b/typedoc.json @@ -1,5 +1,6 @@ { "entryPoints": ["library/main.ts"], + "out": "docs", "excludeInternal": true, "excludePrivate": true, "excludeProtected": true,