Skip to content

Commit

Permalink
Build docs
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst committed Dec 18, 2019
1 parent 158cc5b commit 25a8f4b
Show file tree
Hide file tree
Showing 3 changed files with 233 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
language: node_js
node_js: node
branches:
only:
- master
- /^v\d++(\.\d+)?+(\.\d+)?+(\.\d+)?$/
script:
- npm run build
- npm run build:doc
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: true
local-dir: dist/doc
on:
tags: true
215 changes: 214 additions & 1 deletion 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 @@ -5,6 +5,7 @@
"main": "dist/index.js",
"scripts": {
"build": "babel ./lib --out-dir dist --extensions '.ts,.tsx' --source-maps",
"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": "echo \"Error: no test specified\" && exit 1"
Expand All @@ -29,6 +30,7 @@
"@babel/preset-env": "7.7.6",
"@babel/preset-typescript": "7.7.4",
"@nextcloud/browserslist-config": "^1.0.0",
"typedoc": "^0.15.5",
"typescript": "3.7.3"
},
"browserslist": [
Expand Down

0 comments on commit 25a8f4b

Please sign in to comment.