npm i rckt-deploy
Example of this file:
{
"user": "fpt-user",
"password": "", //no password will prompt for password on every deploy
"host": "ftp.host.com",
"port": 21,
"remoteRoot": "www/web/"
}
npm run deploy
Original source: https://github.com/simonh1000/ftp-deploy