@mypaas/paas-dev-tools
v0.4.9
Published
The paas-dev command line provides a complete set of commands to develop and publish paas components.
Downloads
3
Readme
天际移动建模件开发工具 ⚡
用于帮助开发者在本地创建组件包、开发组件包
Install
npm i -g @mypaas/paas-dev-tools
or
yarn global add @mypaas/paas-dev-tools
Usage
🚀 启动组件开发服务
启动当前文件夹作为组件包
paas-dev run
启动指定组件包
paas-dev run component-package-path
可支持多个组件包:
paas-dev run component-package-path-1 component-package-path-2
也可将某目录下的所有组件包同时添加到组件开发服务:
paas-dev run component-packages-parent-dir
启动后可前往移动 PaaS 设计器页面使用本地组件调试功能
💥 创建组件包
paas-dev create
🌈 创建组件
paas-dev gen component
or
paas-dev gen hook
🌈 发布组件
在组件根目录执行
paas-dev publish component-pkg