@areslabs/ares-core-cli
v2.0.8
Published
JDReact Core CLI tools
Downloads
72
Keywords
Readme
ares-core-cli
A Command Line Interface for jdreact Web Applications
Usage
Prerequisites
Node v5.x (or greater).
Installation(--prefix指定安装目录,与0.59.9版本安装目录保持一致,均放置在/usr/local目录下)
npm install --prefix /usr/local/ @areslabs/ares-core-cli -g
Usage(初始化一个本地的业务工程)
Once installed, creating a new jdreact business project is simple. If you already have an empty directory for your project, you can run:
ares-core init <ProjectName>
Usage(初始化一个本地的common包工程,建议名字为JDReactCommon不要修改,因为目前支持自定义common包内容,不支持自定义common包名称)
Once installed, creating a new jdreact commonPack project is simple. If you already have an empty directory for your project, you can run:
ares-core init-commonpack JDReactCommon
Usage(初始化一个本地的业务工程并push到指定的git仓库,需确保当前用户有该git仓库的push权限,否则会push失败)
./create.sh git仓库地址 <ProjectName>
Version说明
1.x.x版本:支持rn0.59.9业务工程的创建 2.x.x版本:支持rn0.66.3业务工程的创建