@microsoft/teamsfx

v2.2.3-alpha.db09cdb89.0
Microsoft Teams Framework for Node.js and browser.
typescript

lint

eslint "**/*.ts"

test

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

build

rollup -c && api-extractor run --local && npm run api-markdown

clean

rimraf dist dist-* temp types *.tgz *.log

format

prettier --write "src/**/*.ts" "test/**/*.ts" "*.{js,json}" "config/*.js"

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

precommit

npm run check-sensitive && lint-staged

test:unit

npm run test:unit:node && npm run test:unit:browser

lint:staged

lint-staged

api-markdown

api-documenter generate -i temp -o ../../docs/sdk

check-format

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

test:e2e:node

mocha --reporter mocha-multi-reporters 'test/e2e/node/*.spec.ts' --file src/index.ts -r config/mocha.env.ts --config config/mocharc.node.js --reporter-options configFile=config/mocha-multi-reporter.json

test:unit:node

nyc --no-clean -- mocha 'test/unit/{,!(browser)/**/}*.spec.ts' --file src/index.ts -r config/mocha.env.ts --config config/mocharc.node.js

check-sensitive

npx eslint --plugin 'no-secrets' --cache --ignore-pattern 'package.json' --ignore-pattern 'package-lock.json'

test:e2e:browser

karma start --single-run --integration

test:unit:browser

karma start --single-run --unit
npm i @microsoft/[email protected]

Metadata

  • MIT
  • >=10.0.0
  • Microsoft Corporation
  • released 8/15/2023

Downloads