@microsoft/teamsfx-cli

v0.7.3-alpha.fe478445.0
TeamsFx CLI a text-based command line interface that can help scaffold, validate, and deploy applications for Microsoft Teams from the terminal or a CI/CD process.
teamsfx teamsfx-cli

copy-files

copyfiles -u 1 src/**/*.html src/**/*.css src/**/*.sh src/**/*.ps1 lib/

build

rimraf lib && tsc -p ./ && npm run copy-files

watch

rimraf lib && npm run copy-files && tsc -w -p ./

package

rimraf lib && node --max-old-space-size=4096 node_modules/webpack/bin/webpack.js --mode production --config ./webpack.config.js

prepack

npm run package

test:e2e

npm run test:e2e:clean && npm run test:e2e:parallel

test:e2e:clean

ts-node tests/e2e/clean.ts

test:e2e:parallel

mocha --parallel --reporter @mochajs/json-file-reporter "tests/e2e/**/*.tests.ts"

test:e2e:smoke

mocha --reporter @mochajs/json-file-reporter "tests/e2e/smoke/*.tests.ts"

test:e2e:others

mocha --reporter @mochajs/json-file-reporter "tests/e2e/{,!(smoke)}/*.tests.ts"

test:unit

nyc --no-clean mocha "tests/unit/**/*.tests.ts"

check-format

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

format

prettier --write --config .prettierrc.json --ignore-path .prettierignore "{src,tests}/**/*.ts" "*.{js,json}"

lint:fix

eslint "src/**/*.ts" "tests/**/*.ts" --fix

lint

eslint "src/**/*.ts" "tests/**/*.ts"

precommit

lint-staged
npm i @microsoft/[email protected]

Metadata

  • MIT
  • >=12
  • Microsoft Corporation
  • released 11/15/2021

Downloads