公有云相关工具封装,提供 TypeScript 类型定义
以下所有命令行操作都在 git-bash
窗口中执行
Package | Version |
---|---|
ali-alb |
|
ali-ecs |
|
ali-oss |
run it at first time and any time
npm run repo:init
Run under root folder
npm run build
# specify scope
npm run build @scope/demo-docs
# specify scopes
npm run build @scope/demo-docs @scope/demo-serivce
npm run bootstrap
npm run add:pkg new_module
- Use
npm run lint
to check code style. - Use
npm run test
to run unit test.
# clean build dist, cache and build
npm run clean
# clean and remove all node_modules
npm run purge
- Run
npm run clean
beforenpm run build
, if any file under typescript outDir folder was deleted manually. - Default publish registry is
NPM
, configurated in filelerna.json
- Any commands above (such as
npm run build
) running inGit-Bash
under Windows OS