clean
rm -f ./dist/*
build
parcel build ./src/index.ts --global hClient -o ./dist/hclient-$npm_package_version.browser.min.js
build:lib
mkdir -p ./lib && tsc
doc
typedoc --out ./docs/ ./src/
lint
tslint -p ./tslint.json
prepare:integration_tests
cd ./integration_tests && npm install
integration_test
cd ./integration_tests && npm run test
unit_test
npm run build:lib && mocha ./test/*.js -r chai/register-should
test
npm run lint && npm run unit_test
prepublishOnly
npm test && npm run lint
prepare
npm run build && npm run build:lib
preversion
npm run lint
version
git add .
postversion
git push && git push --tags