@microsoft/teamsfx
v0.4.1-alpha.cef16e3d.0 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"
prepare
npm run build
ui-test
mocha --no-timeouts -r test/mocha.env.ts -r ts-node/register test/ui/**/*.spec.ts --exit
version
../../.github/scripts/pkg-version.sh templates
prebuild
npm run clean
test:e2e
npm run test:e2e:node && npm run test:e2e:browser
precommit
lint-staged
test:unit
npm run test:unit:node && npm run test:unit:browser
lint:staged
lint-staged
postversion
../../.github/scripts/pkg-postversion.sh templates
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
nyc --reporter lcovonly -- mocha 'test/e2e/node/*.spec.ts' --file src/index.ts -r config/mocha.env.ts --config config/mocharc.node.js
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
test:e2e:browser
node test/e2e/scripts/DownloadSimpleAuth.js && concurrently --kill-others --success first "node test/e2e/scripts/StartSimpleAuth.js" "npm run test:e2e:browser-case"
test:unit:browser
karma start --single-run --unit
test:e2e:browser-case
karma start --single-run --integration
npm i @microsoft/[email protected]
Metadata
- MIT
- >=10.0.0
- Microsoft Corporation
- released 1/8/2022