panda-bin
v1.0.0
Published
部署命令工具
Downloads
2
Readme
panda-bin
部署工具,包含编译 和 发包2个功能;编译支持 webpack 和 scrat,发包支持阿里云
Features
- 编译工具支持 webpack 和 scrat
- 发包支持阿里云
Installation
npm i -g panda-bin
Usage
- 应用目录下执行命令如:panda build --with-version && panda publish -t [email protected]:/root/app
Api
config
- 应用根目录可添加 .panda.conf.js
args
build
- --type or -t: scrat or webpack
- --media or -m: dev or prod,scrat模式下才用到
- --width-version: 是否带版本号
publish
- --target or -t: 阿里云的地址和帐号,格式如 [email protected]:/root/app
Issues
Submit the issues if you find any bug or have any suggestion.
Contribution
Fork the repository and submit pull requests.