{ "ftp": { "host": "xx.xx.xx.xx", "port": "8021", "user": "tmt", "pass": "password", "remotePath": "remotePath", "includeHtml": true //ftp 上传是否包含 html }, "sftp": { "host": "xx.xx.xx.xx", "port": "xx", "user": "tmt", "password": "password", "remotePath": "", "includeHtml": true }, "livereload": { // /api 代理到的 url "proxyTarget": "http://apibeta.qxjiaoyou.com", //开启自动刷新 "available": true, "port": 8080, "startPath": "index.html" }, //路径相对于 tasks/plugins 目录 "plugins": { "build_devAfter": [], "build_distAfter": [], "ftpAfter": [ "ftp" ] }, "lazyDir": [ "../slice" ], //gulp-lazyImageCSS 寻找目录(https://github.com/weixin/gulp-lazyimagecss) "supportWebp": false, "supportREM": false, "supportChanged": false, "reversion": true, "SVGGracefulDegradation": true }