new docs script

This commit is contained in:
MapleLeaf
2021-12-28 13:09:55 -06:00
parent 7fd9c9af12
commit f36d550963
2 changed files with 2 additions and 1 deletions

View File

@@ -22,7 +22,7 @@
"coverage": "pnpm test -- --coverage", "coverage": "pnpm test -- --coverage",
"typecheck": "tsc --noEmit", "typecheck": "tsc --noEmit",
"playground": "nodemon --exec esmo --ext ts,tsx ./playground/main.tsx", "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": { "dependencies": {
"@types/node": "*", "@types/node": "*",

View File

@@ -1,5 +1,6 @@
{ {
"entryPoints": ["library/main.ts"], "entryPoints": ["library/main.ts"],
"out": "docs",
"excludeInternal": true, "excludeInternal": true,
"excludePrivate": true, "excludePrivate": true,
"excludeProtected": true, "excludeProtected": true,