@azure/core-lro

v2.2.3-alpha.20220104.5
Isomorphic client library for supporting long-running operations in node.js and browser.
isomorphic browser javascript node microsoft lro polling azure cloud and 1 more...

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

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

clean

rimraf dist dist-* types *.log browser statistics.html coverage src/**/*.js test/**/*.js

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:test

tsc -p . && rollup -c 2>&1

extract-api

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

check-format

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

test:browser

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

build:samples

echo Obsolete

unit-test:node

cross-env TS_NODE_FILES=true TS_NODE_COMPILER_OPTIONS="{\"module\":\"commonjs\"}" nyc mocha -r ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace --exclude "test/**/browser/*.spec.ts" "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
  • >=12.0.0
  • Unknown
  • released 1/4/2022

Downloads