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,