1.1.1 • Published 1 year ago
@kaffee/lungo v1.1.1
@kaffee/lungo
A based ssh upload package
Installation
Install with npm
npm install --dev @kaffee/lungoInstall with yarn
yarn add --dev @kaffee/lungoInstall with pnpm
pnpm add -D @kaffee/lungoUsage/Examples
Examples Config
{
"production": {
"serverDir": "/home/nginx/web/dev",
"host": "192.168.1.1",
"port": 22,
"username": "username",
"password": "password",
"project": "kaffee-lungo",
"dist":"dist",
"forward":{
"host": "192.168.1.2",
"port": 22,
"username": "username",
"password": "password",
}
}
}Example command
yarn lungo --env production
npx lungo --env production
pnpm lungo --env productionThe config upload your dist folder to serverDir + project