auto-connect
v0.0.3
Published
Front end automated one click deployment
Downloads
1
Readme
安装
npm install auto-connect
package.json配置
"scripts": {
"connect":
},
配置项:
romotePath:必填
远程服务器项目存放地址
localPath:可选
本地项目地址,可选
folderName:必填
需要上传的项目文件名称
config:必填
服务器相关信息:
host: ip,
username: 用户名,
password: 密码,
port: 端口,22
eg:
"scripts": {
"connect": "auto-connect --romotePath=/testFile --folderName=dist --config={host: 'ip',username:'root',password:'密码',port:22}"
},
ssh2:版本 0.8.9