🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

auto-connect

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-connect

Front end automated one click deployment

latest
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

安装

    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

运行

Keywords

deploy

FAQs

Package last updated on 15 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts