Skip to content

Commit

Permalink
Add typedoc
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst committed Dec 18, 2019
1 parent 8da6421 commit ef1b709
Show file tree
Hide file tree
Showing 3 changed files with 194 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,15 @@ node_js: node
branches:
only:
- master
script:
- npm run build
- npm run test
- npm run build:doc
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: true
local-dir: dist/doc
on:
branch: master
183 changes: 180 additions & 3 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"types": "dist/index.d.ts",
"scripts": {
"build": "babel ./lib --out-dir dist --extensions '.ts,.tsx' --source-maps && tsc --emitDeclarationOnly",
"build:doc": "typedoc --out dist/doc lib && touch dist/doc/.nojekyll",
"check-types": "tsc",
"dev": "babel ./lib --out-dir dist --extensions '.ts,.tsx' --watch",
"test": "jest",
Expand Down Expand Up @@ -34,6 +35,7 @@
"babel-jest": "^24.9.0",
"babel-plugin-inline-json-import": "^0.3.2",
"jest": "^24.9.0",
"typedoc": "^0.15.5",
"typescript": "^3.6.3"
},
"browserslist": [
Expand Down

0 comments on commit ef1b709

Please sign in to comment.