UNPKG

wedge-cli

Version:

weex for tv

58 lines (40 loc) 1.57 kB
#cyclone-shell ### Features * cyclone h5 app 开发工具 * 基于yeoman和gulp * 支持项目目录以及代码自动生成 * 支持项目本地调试 * 支持项目构建, es6转es5, webpack打包 * 支持打包cyclone本地应用wpk包 ### How to use ###### 1、在线安装 ``` npm install -g cyclone-shell --registry=https://registry.npm.taobao.org ``` ###### 2、离线安装 到[阿里巴巴TV开发平台](http://tv.alibaba.net/_site/download/index.html)选择对应平台版本下载 解压后进入该目录,并在该目录下执行如下命令部署至全局 ``` npm link ``` ### Commands Usage: moye [options] [command] Commands: init|i 初始化一个Cyclone的项目 server|s [options] 启动一个开发环境,支持自定义端口 build|b 构建本地开发代码 package|p 生成Cyclone App安装包 capt|c [path] 指定目录生成Cyclone App安装包,[path]参数请填写相对当前运行目录的路径 deploy|d [path] 生成Cyclone App安装包并安装 update|u 采用增量模式更新本工具(只升级工具不包括依赖部分) install [component] 安装component uninstall [component] 卸载component yo [app] invoke yeoman commands gulp|g [cmd] invoke gulp commands Options: -h, --help output usage information -V, --version output the version number -s, --silent disable log output --no-color disable log output ### License MIT