Skip to content

Commit

Permalink
fix: generate docs with the latest version of typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
citizensas committed May 29, 2021
1 parent fb9aba7 commit a7aae96
Show file tree
Hide file tree
Showing 3 changed files with 192 additions and 8 deletions.
187 changes: 181 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"tslint": "6.1.1",
"tslint-config-prettier": "1.18.0",
"typedoc": "0.17.4",
"typescript": "3.5.3",
"typescript": "3.8.3",
"uuid": "7.0.3"
},
"scripts": {
Expand All @@ -62,7 +62,7 @@
"e2e": "CI=true mocha --no-timeouts test/e2e.test.js",
"debug": "npm run test:karma -- --auto-watch --browsers Chrome --no-single-run",
"build": "rollup -c && tsc --emitDeclarationOnly -p ./tsconfig.json -d --declarationDir ./typings",
"docs": "rm -rf ./docs/ && typedoc --out ./docs/ ./src/ --excludePrivate --excludeExternals --exclude \"**/*.spec.ts\" && touch ./docs/.nojekyll",
"docs": "rm -rf ./docs/ && typedoc && touch ./docs/.nojekyll",
"prepublish": "npm run build",
"version": "conventional-changelog -i CHANGELOG.md -s && npm run docs && git add docs CHANGELOG.md",
"start": "http-server -a localhost -p 8000 -o --cors -c-1"
Expand Down
9 changes: 9 additions & 0 deletions typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"inputFiles": ["./src"],
"mode": "modules",
"out": "./docs",
"excludeExternals": true,
"excludePrivate": true,
"exclude": ["**/*.spec.ts"],
"toc": ["Api"]
}

0 comments on commit a7aae96

Please sign in to comment.