Skip to content

Commit

Permalink
docs(book): Serenity/JS Handbook should be generated as part of the b…
Browse files Browse the repository at this point in the history
…uild
  • Loading branch information
jan-molak committed Jan 12, 2017
1 parent 86c658f commit 9aaa266
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -15,6 +15,7 @@ script:
- npm run verify
after_success:
- npm run publish-coverage-report
- npm run publish-book
- npm run semantic-release
branches:
except:
Expand Down
2 changes: 1 addition & 1 deletion book/readme.md
@@ -1,4 +1,4 @@
<h1><img alt="Serenity/JS" src="../images/serenity-js.svg" id="cover-logo" /></h1>
<h1><img alt="Serenity/JS" src="images/serenity-js.svg" id="cover-logo" /></h1>

A handbook by [Jan Molak](https://janmolak.com)

Expand Down
2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -26,6 +26,7 @@
"coverage:report": "nyc report --reporter=html --reporter=lcov --temp-directory=./staging/reports/coverage --report-dir=./staging/reports/coverage",
"report": "npm run coverage:merge && npm run coverage:report",
"publish-coverage-report": "cat ./staging/reports/coverage/lcov.info | node ./node_modules/coveralls/bin/coveralls.js",
"publish-book": "rimraf _book && gitbook build && gh-pages -d _book",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"peerDependencies": {
Expand Down Expand Up @@ -66,6 +67,7 @@
"cucumber": "1.3.1",
"cz-conventional-changelog": "1.2.0",
"express": "4.14.0",
"gh-pages": "0.12.0",
"gitbook-cli": "2.3.0",
"gitbook-plugin-addcssjs": "1.0.2",
"gitbook-plugin-advanced-emoji": "0.2.1",
Expand Down

0 comments on commit 9aaa266

Please sign in to comment.