mqtt
v4.0.0 mqtt publish/subscribe publish subscribe
ci
npm run tslint && npm run typescript-compile-test && npm run test && codecov
test
nyc --reporter=lcov --reporter=text ./node_modules/mocha/bin/_mocha
tslint
if [[ "`node -v`" != "v4.3.2" ]]; then tslint types/**/*.d.ts; fi
prepare
npm run browser-build
pretest
standard | snazzy
sauce-test
airtap --server test/browser/server.js -- test/browser/test.js
browser-test
airtap --server test/browser/server.js --local --open test/browser/test.js
browser-build
rimraf dist/ && mkdirp dist/ && browserify mqtt.js --standalone mqtt > dist/mqtt.js && uglifyjs dist/mqtt.js --compress --mangle --output dist/mqtt.min.js
typescript-test
npm run typescript-compile-test && npm run typescript-compile-execute
typescript-compile-test
tsc -p test/typescript/tsconfig.json
typescript-compile-execute
node test/typescript/*.js