@imqueue/core

v1.5.0
Simple JSON-based messaging queue for inter service communication
message-queue redis redis-queue inter-service-communication json json-message

prepare

tsc

test

tsc && ./node_modules/.bin/nyc mocha && ./node_modules/.bin/nyc report --reporter=text-lcov && npm run test-coverage

test-fast

tsc && ./node_modules/.bin/nyc mocha && /usr/bin/env node -e "require('open')('file://`pwd`/coverage/index.html', { wait: false })"

test-local

export COVERALLS_REPO_TOKEN=$IMQ_COVERALLS_TOKEN && npm test && /usr/bin/env node -e "require('open')('https://coveralls.io/github/imqueue/imq', { wait: false })"

test-dev

npm run test && npm run clean-js && npm run clean-typedefs && npm run clean-maps

test-coverage

cat ./coverage/lcov.info | CODECLIMATE_API_HOST=https://codebeat.co/webhooks/code_coverage CODECLIMATE_REPO_TOKEN=85bb2a18-4ebb-4e48-a2ce-92b7bf438b1a ./node_modules/.bin/codeclimate-test-reporter

clean-typedefs

find . -name '*.d.ts' -not -wholename '*node_modules*' -not -wholename '*generator*' -type f -delete

clean-maps

find . -name '*.js.map' -not -wholename '*node_modules*' -not -wholename '*generator*' -type f -delete

clean-js

find . -name '*.js' -not -wholename '*node_modules*' -not -wholename '*generator*' -type f -delete

clean-tests

rm -rf .nyc_output coverage

clean-doc

rm -rf docs

clean-benchmark

rm -rf benchmark-result

clean

npm run clean-tests && npm run clean-typedefs && npm run clean-maps && npm run clean-js && npm run clean-doc && npm run clean-benchmark

doc

rm -rf docs && typedoc --excludePrivate --excludeExternals --hideGenerator --exclude "**/+(test|node_modules|docs|coverage|benchmark|.nyc_output)/**/*" --mode file --out ./docs . && /usr/bin/env node -e "require('open')('file://`pwd`/docs/index.html',{wait:false})"
npm i @imqueue/[email protected]

Metadata

  • ISC
  • Whatever
  • imqueue.com
  • released 12/2/2019

Downloads