graphql-mqtt-subscriptions

v1.2.0
A graphql-subscriptions PubSub Engine using mqtt protocol
graphql mqtt apollo subscriptions

compile

tsc --noUnusedParameters --noUnusedLocals

pretest

npm run compile

test

npm run testonly --

posttest

npm run lint

lint

tslint ./src/**/*.ts

watch

tsc -w

testonly

mocha --reporter spec --full-trace ./dist/test/tests.js

integration

npm run compile && mocha --reporter spec --full-trace ./dist/test/integration-tests.js

benchmark

npm run compile && mocha --reporter spec --full-trace ./dist/test/benchmark.js

coverage

node ./node_modules/istanbul/lib/cli.js cover _mocha -- --full-trace ./dist/test/tests.js

postcoverage

remap-istanbul --input coverage/coverage.raw.json --type lcovonly --output coverage/lcov.info

prepublish

npm run test
npm i graphql-mqtt-subscriptions

Metadata

  • MIT
  • Whatever
  • David Yahalomi
  • released 8/11/2019

Downloads

Maintainers