@azure/core-amqp
v1.1.0lint
eslint package.json tsconfig.json src test samples --ext .ts -f html -o core-amqp-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
clean
rimraf dist dist-esm typings temp dist-browser/*.js* dist-browser/*.zip statistics.html coverage coverage-browser test-browser .nyc_output *.tgz *.log test*.xml TEST*.xml
format
prettier --write --config ../../.prettierrc.json "src/**/*.ts" "test/**/*.ts" "*.{js,json}"
lint:fix
eslint package.json tsconfig.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:test
tsc -p . && rollup -c rollup.test.config.js 2>&1
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:samples
cd samples && tsc -p .
unit-test:node
cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS="{\"module\":\"commonjs\"}" nyc --reporter=lcov --reporter=text-lcov mocha -r ts-node/register -t 50000 --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=- ./test/**/*.spec.ts
execute:samples
echo skipped
integration-test
npm run integration-test:node && npm run integration-test:browser
unit-test:browser
karma start --single-run
integration-test:node
echo skipped
integration-test:browser
echo skipped
npm i @azure/[email protected]
Metadata
- MIT
- Whatever
- Microsoft Corporation
- released 2/28/2020