1.1.3 • Published 9 months ago
hitcxedu v1.1.3
Install
npm i hitcxedu -g
Usage: hitcx options
Options:
- -V, --version output the version number
- -p, --publish 根据hitcx-config下的publish发布项目到指定服务器
- -h, --help display help for command
Examples:
hitcx --publish
Config:
./hitcx-config.js
module.exports = {
publish: {
file: './dist', // 本地文件夹
originPath: '/www/file', // 服务器路径
host: 'xx.xx.xx.xx',
user: 'xxxx',
password: 'xxxx',
},
zip: {
file: './dist',
zipFile: 'dist.zip'
}
}