1.0.0 • Published 7 years ago

panda-bin v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

panda-bin

Travis npm npm node

部署工具,包含编译 和 发包2个功能;编译支持 webpack 和 scrat,发包支持阿里云

Features

  • 编译工具支持 webpack 和 scrat
  • 发包支持阿里云

Installation

npm i -g panda-bin

Usage

  • 应用目录下执行命令如:panda build --with-version && panda publish -t root@88.88.88.88:/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: 阿里云的地址和帐号,格式如 root@88.88.88.88:/root/app

Issues

Submit the issues if you find any bug or have any suggestion.

Contribution

Fork the repository and submit pull requests.

Release Notes

CHANGELOG

License

npm