@microsoft/teamsfx
v0.2.2-alpha.2ade8891.0 typescript
lint
eslint "**/*.ts"
test
npm run test:unit && npm run test:integration
build
tsc -p . && npm run build:node && api-extractor run --local
clean
rimraf dist dist-* temp types *.tgz *.log
format
prettier --write --config ./.prettierrc.json --ignore-path ./.prettierignore "src/**/*.ts" "test/**/*.ts" "samples/**/*.ts" "*.{js,json}"
prepare
npm run build
e2e-test
mocha --no-timeouts -r test/mocha.env.ts -r ts-node/register test/e2e/**/*.spec.ts --exit
prebuild
npm run clean
precommit
lint-staged
test:node
npm run build:test && npm run unit-test:node && npm run integration-test:node
test:unit
npm run build: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
lint:staged
lint-staged
check-format
prettier --list-different --config ./.prettierrc.json --ignore-path ./.prettierignore "src/**/*.ts" "test/**/*.ts" "samples/**/*.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
unit-test:node
mocha dist-test/index.node.js --reporter ./tools/mocha-multi-reporter.js
test:integration
npm run integration-test:node && npm run integration-test:browser
unit-test:browser
karma start --single-run --glob=./dist-test/index.unit.browser.js
build:api-markdown
tsc -p . && api-extractor run --local && api-documenter markdown -i temp -o ../../docs/sdk
integration-test:node
mocha -r test/mocha.env.ts -r ts-node/register "./test/integration/node/*.spec.ts" --timeout 100000 --exit --reporter ./tools/mocha-multi-reporter.js
integration-test:browser
node test/integration/scripts/DownloadSimpleAuth.js && concurrently --kill-others --success first "node test/integration/scripts/StartSimpleAuth.js" "npm run integration-test:browser-case"
integration-test:browser-case
karma start --single-run --glob=./dist-test/index.integration.browser.js
npm i @microsoft/[email protected]
Metadata
- MIT
- >=10.0.0
- Microsoft Corporation
- released 6/30/2021