README
NZ's NodeJS utils
waitIndicator( text = 'waiting', duration = 120 )
.start()
.stop()
ftpDeploy( options )
options
Type: Object
local
Type: String
本地目录,通常位于当前项目下,如:dist/
remote
Type: String
ftp 远程目录
deployConfig
Type: String
Default: deploy.config.json
ftp 服务器信息配置文件:
{
"username": "username",
"password": "password",
"host": "host",
"port": "port"
}