@azure/event-processor-host

v2.1.1
Azure Event Processor Host (Event Hubs) SDK for JS.
azure cloud event hubs event processor events

audit

node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit

build:browser

tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1

build:node

tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1

build:samples

cd samples && tsc -p .

build:test

tsc -p . && cross-env ONLY_NODE=true rollup -c rollup.test.config.js 2>&1

build

tsc -p . && rollup -c 2>&1 && npm run extract-api

check-format

prettier --list-different --config ../../.prettierrc.json "src/**/*.ts" "test/**/*.ts" "*.{js,json}"

clean

rimraf dist dist-esm test-dist typings *.tgz *.log

coverage

nyc --reporter=lcov --exclude-after-remap=false mocha -t 120000 test-dist/index.js --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=-

execute:samples

echo skipped

extract-api

tsc -p . && api-extractor run --local

format

prettier --write --config ../../.prettierrc.json "src/**/*.ts" "test/**/*.ts" "*.{js,json}"

integration-test:browser

echo skipped

integration-test:node

mocha -t 120000 test-dist/index.js --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=-

integration-test

npm run integration-test:node && npm run integration-test:browser

lint:fix

eslint package.json tsconfig.json src test samples --ext .ts --fix

lint

eslint package.json tsconfig.json src test samples --ext .ts -f html -o event-processor-host-lintReport.html || exit 0

pack

npm pack 2>&1

prebuild

npm run clean

test:browser

npm run build:test && npm run unit-test:browser && npm run integration-test:browser

test:node

npm run build:test && npm run unit-test:node && npm run integration-test:node

test

npm run build:test && npm run unit-test && npm run integration-test

unit-test:browser

echo skipped

unit-test:node

echo skipped

unit-test

npm run unit-test:node && npm run unit-test:browser
npm i @azure/[email protected]

Metadata

  • MIT
  • Whatever
  • Microsoft Corporation
  • released 12/12/2019

Downloads