Skip to content

Commit a7aae96

Browse files
committed
fix: generate docs with the latest version of typescript
1 parent fb9aba7 commit a7aae96

3 files changed

Lines changed: 192 additions & 8 deletions

File tree

package-lock.json

Lines changed: 181 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"tslint": "6.1.1",
5151
"tslint-config-prettier": "1.18.0",
5252
"typedoc": "0.17.4",
53-
"typescript": "3.5.3",
53+
"typescript": "3.8.3",
5454
"uuid": "7.0.3"
5555
},
5656
"scripts": {
@@ -62,7 +62,7 @@
6262
"e2e": "CI=true mocha --no-timeouts test/e2e.test.js",
6363
"debug": "npm run test:karma -- --auto-watch --browsers Chrome --no-single-run",
6464
"build": "rollup -c && tsc --emitDeclarationOnly -p ./tsconfig.json -d --declarationDir ./typings",
65-
"docs": "rm -rf ./docs/ && typedoc --out ./docs/ ./src/ --excludePrivate --excludeExternals --exclude \"**/*.spec.ts\" && touch ./docs/.nojekyll",
65+
"docs": "rm -rf ./docs/ && typedoc && touch ./docs/.nojekyll",
6666
"prepublish": "npm run build",
6767
"version": "conventional-changelog -i CHANGELOG.md -s && npm run docs && git add docs CHANGELOG.md",
6868
"start": "http-server -a localhost -p 8000 -o --cors -c-1"

typedoc.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"inputFiles": ["./src"],
3+
"mode": "modules",
4+
"out": "./docs",
5+
"excludeExternals": true,
6+
"excludePrivate": true,
7+
"exclude": ["**/*.spec.ts"],
8+
"toc": ["Api"]
9+
}

0 commit comments

Comments
 (0)