@microsoft/teamsfx-cli
v0.5.1-alpha.52897370.0 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 && npx webpack --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 --no-timeouts --parallel --require ts-node/register "tests/e2e/**/*.tests.ts"
test:e2e:smoke
mocha --no-timeouts --require ts-node/register "tests/e2e/smoke/*.tests.ts"
test:e2e:others
mocha --no-timeouts --require ts-node/register "tests/e2e/{,!(smoke)}/*.tests.ts"
test:unit
nyc mocha --require ts-node/register "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
- >=10
- Microsoft Corporation
- released 8/24/2021