nats
v0.8.0 nats messaging pubsub publish subscribe queue distributed queueing
fmt
js-beautify -n --config crockford.jscsrc -r lib/* test/*.js test/support/*.js examples/* benchmark/*.js
lint
if-node-version >=4 eslint ./lib ./examples ./benchmark ./test
test
npm run depcheck && npm run depcheck:unused && npm run lint && npm run test:unit
cover
istanbul cover _mocha
depcheck
dependency-check . lib/*
coveralls
npm run cover -- --report lcovonly && cat ./reports/coverage/lcov.info | coveralls
test:unit
mkdir -p reports/ && NODE_ENV=test multi='spec=- xunit=reports/mocha-xunit.xml' istanbul cover _mocha -- -R mocha-multi --timeout 10000 --slow 750 && istanbul check-coverage
depcheck:unused
dependency-check ./package.json --unused --no-dev lib/*