git-branch-is
v2.0.0 assert assertion cli git test
clean
rimraf coverage && rimraf doc
doc
npm run doc-js && npm run doc-spec
doc-js
rimraf doc/api && jsdoc -c jsdoc.conf.json .
doc-spec
rimraf doc/spec && mkdir doc/spec && mocha --reporter doc --recursive test | nodecat doc-src/spec/header.xhtml - doc-src/spec/footer.xhtml > doc/spec/index.xhtml
lint
npm run lint-js && npm run lint-doc
lint-doc
jsdoc -t templates/silent -c jsdoc-lint.conf.json . && echo JSDoc passed.
lint-js
eslint . && echo ESLint passed.
postpublish
git -C doc push && git push --follow-tags origin master gh-pages && echo Remember to update GitHub Releases from CHANGELOG.md && echo until skywinder/github-changelog-generator#56 is fixed.
postversion
rimraf doc && git clone -b gh-pages -l -q . doc && npm run doc && git -C doc add . && git -C doc commit -n -m "Docs for v$npm_package_version"
preversion
depcheck --ignores greenkeeper-lockfile --ignore-dirs doc && david -i eslint && node ./bin/git-branch-is.js master && travis-status -b master -c -wx && appveyor-status -b master -c -w -p kevinoid/git-branch-is && nyc check-coverage --lines 95
test
npm run lint && npm run test-unit
test-cov
npm run lint && npm run test-unit-cov
test-unit
mocha --recursive test
test-unit-cov
nyc mocha --recursive test
upload-cov
codecov < ./coverage/lcov.info && coveralls < ./coverage/lcov.info
version
github_changelog_generator -t "$npm_config_gcg_github_token" --future-release "$npm_package_version" && echo && echo === Please edit CHANGELOG.md as desired, then exit === && echo && $npm_config_shell && git commit -m "Update CHANGELOG.md for $npm_package_version" CHANGELOG.md
version-deps
npm install david depcheck travis-status