@microsoft/teamsfx

v0.2.3-alpha.7cf6dce2.0
Microsoft Teams Framework for Node.js and browser.
typescript

lint

eslint "**/*.ts"

test

npm run test:unit && npm run test:e2e

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

ui-test

mocha --no-timeouts -r test/mocha.env.ts -r ts-node/register test/ui/**/*.spec.ts --exit

prebuild

npm run clean

test:e2e

npm run e2e-test:node && npm run e2e-test:browser

precommit

lint-staged

test:node

npm run build:test && npm run unit-test:node && npm run e2e-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 e2e-test:browser

build:browser

tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1

e2e-test:node

mocha -r test/mocha.env.ts -r ts-node/register "./test/e2e/node/*.spec.ts" --timeout 100000 --exit --reporter ./tools/mocha-multi-reporter.js

unit-test:node

nyc mocha --no-timeouts -r test/mocha.env.ts --require ts-node/register "test/unit/node/**/*.spec.ts" "test/unit/*.spec.ts"

e2e-test:browser

node test/e2e/scripts/DownloadSimpleAuth.js && concurrently --kill-others --success first "node test/e2e/scripts/StartSimpleAuth.js" "npm run e2e-test:browser-case"

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

e2e-test:browser-case

karma start --single-run --glob=./dist-test/index.e2e.browser.js
npm i @microsoft/[email protected]

Metadata

  • MIT
  • >=10.0.0
  • Microsoft Corporation
  • released 7/27/2021

Downloads