graphql-subscriptions

v2.0.0
GraphQL subscriptions for node.js

clean

rimraf dist coverage

compile

tsc

pretest

npm run compile

test

npm run testonly --

posttest

npm run lint

lint

tslint --project ./tsconfig.json ./src/**/*.ts

watch

tsc -w

testonly

node --expose-gc ./node_modules/.bin/mocha --reporter spec --full-trace ./dist/test/tests.js ./dist/test/asyncIteratorSubscription.js

coverage

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

postcoverage

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

prepare

npm run clean && npm run compile
npm i graphql-subscriptions

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 11/2/2021

Downloads

Maintainers