@azure/event-hubs
v2.1.3 azure cloud event hubs events
lint
eslint -c ../../.eslintrc.json src test samples --ext .ts -f node_modules/eslint-detailed-reporter/lib/detailed.js -o event-hubs-lintReport.html || exit 0
pack
npm pack 2>&1
test
npm run build:test && npm run unit-test && npm run integration-test
audit
node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit
build
tsc -p . && rollup -c 2>&1 && npm run extract-api
clean
rimraf dist dist-esm test-dist typings *.tgz *.log
format
prettier --write --config .prettierrc.json "src/**/*.ts" "test/**/*.ts" "*.{js,json}"
coverage
nyc --reporter=lcov --exclude-after-remap=false mocha -t 120000 test-dist/index.js --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=-
lint:fix
eslint -c ../../.eslintrc.json src test samples --ext .ts --fix
prebuild
npm run clean
test:node
npm run build:test && npm run unit-test:node && npm run integration-test:node
unit-test
npm run unit-test:node && npm run unit-test:browser
build:node
tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1
build:test
tsc -p . && cross-env ONLY_NODE=true rollup -c rollup.test.config.js 2>&1
extract-api
tsc -p . && api-extractor run --local
check-format
prettier --list-different --config .prettierrc.json "src/**/*.ts" "test/**/*.ts" "*.{js,json}"
test:browser
npm run build:test && npm run unit-test:browser && npm run integration-test:browser
build:browser
tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1
build:samples
cd samples && tsc -p .
unit-test:node
echo skipped
integration-test
npm run integration-test:node && npm run integration-test:browser
unit-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:browser
echo skipped
npm i @azure/[email protected]
Metadata
- MIT
- Whatever
- Microsoft Corporation
- released 11/19/2019