@microsoft/teamsfx-cli
v0.2.0-rc.1 teamsfx teamsfx-cli
prepare
npm run build
copy-files
copyfiles -u 1 src/**/*.html src/**/*.css 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 test:unit && npm run test:integration && npm run package
test:e2e
npm run test:e2e:clean && npm run test:e2e:smoke && npm run test:e2e:others
test:e2e:clean
ts-node tests/e2e/clean.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
echo 'to be implementd'
test:integration
echo 'to be implementd'
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 6/10/2021