@tbminiapp/egret-tbgame
v0.2.7
Published
export egret 2d games to taobao miniapp
Downloads
43
Readme
README
使用方法
安装
npm install -g @tbminiapp/egret-tbgame
用法
> egret-tbgame --help
Egret TBGame CLI
将白鹭2d游戏导出到淘宝小程序
文档: https://www.yuque.com/bdfvyu/eykuny/pgs5m2
Options
-h, --help 帮助说明
-v, --version 当前cli版本
-b, --bootstrap 初始化,此操作需要在egret wing项目根目录执行
-w, --with-version string 白鹭组件(egret-appx-component)的版本,默认最新版,需要跟bootstrap一起使用
-p, --publish string 导出到淘宝小程序工程,值为枚举类型[ default(普通小程序工程) | cloud(小程序云工程) ]
- 导出前必须先在egret wing工程根目录进行初始化
> egret-tbgame -b
# 指定版本如: egret-tbgame -b -w 0.1.13
bootstrap with egret-appx-component version @latest
Done. bootstrap success with egret-appx-component version @latest, cli version 0.2.2
- 导出到淘宝小程序工程
> egret-tbgame -p default
正在发布到淘宝小程序工程,请稍候...
您正在使用白鹭编译器 5.2.33 版本
开始发布 tbgame 版本:
+ @tbminiapp/egret-res@0.1.12
+ @tbminiapp/egret-appx-component@0.1.13
updated 2 packages and audited 2 packages in 2.588s
found 0 vulnerabilities
发布成功
请用小程序IDE打开/path/to/egret_fighter_5_2_33_tbgame目录
- 导出到淘宝小程序云工程
> egret-tbgame -p cloud
正在发布到淘宝小程序云工程,请稍候...
您正在使用白鹭编译器 5.2.33 版本
开始发布 tbgame_cloud 版本:
+ @tbminiapp/egret-res@0.1.12
+ @tbmp/mp-cloud-sdk@1.3.8
+ @tbminiapp/egret-appx-component@0.1.13
updated 3 packages and audited 3 packages in 2.62s
found 0 vulnerabilities
项目结构调整完毕
发布成功
请用小程序IDE打开/path/to/egret_fighter_5_2_33_tbgame_cloud目录