公有云相关工具封装,提供 TypeScript 类型定义
以下所有命令行操作都在 git-bash 窗口中执行
| Package | Version |
|---|---|
ali-alb |
|
ali-ecs |
|
ali-oss |
run it at first time and any time
npm run repo:initRun under root folder
npm run build
# specify scope
npm run build @scope/demo-docs
# specify scopes
npm run build @scope/demo-docs @scope/demo-serivcenpm run bootstrapnpm run add:pkg new_module- Use
npm run lintto check code style. - Use
npm run testto run unit test.
# clean build dist, cache and build
npm run clean
# clean and remove all node_modules
npm run purge- Run
npm run cleanbeforenpm 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-Bashunder Windows OS