appveyor-status
v2.0.1 appveyor ci cli continuous integration
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
node-version-gte-4 && eslint . && echo ESLint passed. || node-version-lt-4
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 eslint-plugin-import --ignore-dirs doc && david -i swagger-client && git-branch-is master && travis-status -b master -c -wx && ./bin/appveyor-status.js -b master -c -p kevinoid/appveyor-status -w && istanbul check-coverage --statements 95 coverage/coverage.json
start
supervisor --quiet --no-restart-on exit --extensions js,json --ignore test --poll-interval 2000 server.js
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
istanbul cover -x test-lib/** _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 git-branch-is travis-status