@azure/event-hubs
v5.7.0-beta.1 azure cloud event hubs events Azure
docs
typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src
lint
eslint package.json api-extractor.json src test --ext .ts
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
npm run clean && tsc -p . && rollup -c 2>&1 && api-extractor run --local && npm run build:types
clean
rimraf dist dist-* types *.tgz *.log
format
prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore "src/**/*.ts" "test/**/*.ts" "samples-dev/**/*.ts" "*.{js,json}"
lint:fix
eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]
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 . && rollup -c rollup.test.config.js 2>&1 && npm run generate-certs
build:types
downlevel-dts types/latest types/3.1
extract-api
tsc -p . && api-extractor run --local
check-format
prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore "src/**/*.ts" "test/**/*.ts" "samples-dev/**/*.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
echo Obsolete.
generate-certs
node ./scripts/generateCerts.js
perf-test:node
tsc -p . --module "commonjs" && node dist-esm/test/perf/track-2/index.spec.js
unit-test:node
cross-env NODE_EXTRA_CA_CERTS="./certs/my-private-root-ca.crt.pem" TEST_TARGET=mock DISABLE_MULTI_VERSION_TESTING=true nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace "dist-esm/test/internal/*.spec.js" "dist-esm/test/public/*.spec.js" "dist-esm/test/public/**/*.spec.js" "dist-esm/test/internal/**/*.spec.js"
build:test:node
tsc -p . && cross-env ONLY_NODE=true rollup -c rollup.test.config.js 2>&1
execute:samples
dev-tool samples run samples-dev
integration-test
npm run integration-test:node && npm run integration-test:browser
unit-test:browser
echo skipped
build:test:browser
tsc -p . && cross-env ONLY_BROWSER=true rollup -c rollup.test.config.js 2>&1
integration-test:node
cross-env TEST_TARGET=live DISABLE_MULTI_VERSION_TESTING=true nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace "dist-esm/test/internal/*.spec.js" "dist-esm/test/public/*.spec.js" "dist-esm/test/public/**/*.spec.js" "dist-esm/test/internal/**/*.spec.js"
integration-test:browser
cross-env TEST_TARGET=live DISABLE_MULTI_VERSION_TESTING=true karma start --single-run
npm i @azure/[email protected]
Metadata
- MIT
- >=12.0.0
- Microsoft Corporation
- released 11/13/2021