1.2.7 • Published 4 years ago
zr-deploy v1.2.7
zr-deploy
中文 | English
Web FrontEnd Spa, deploy script
In fact, as long as it is an npm project (with package.json), it can generally be used
Install
npm i -g zr-deployRun
cd project directory
zr-deployzr-deploy-config.json
localbuildCommand: command in "scripts" inpackage.jsondistDir: build output pathdistZip: build output file/folder ziptipsLang: opntional, value:en|zh; usezhwhen not provide
servername: namehost: server IPport: server portusername: server login usernamepassword: server login passworddistDir: server preject pathdistZipName: zip filename of uploadbakeup: bakeup or not
[
{
"local": {
"buildCommand": "yarn build",
"distDir": "./docs",
"distZip": "./docs.zip",
"tipsLang": "en"
},
"server": {
"name": "server1",
"port": "22",
"host": "1.1.1.1",
"username": "username",
"password": "password",
"distDir": "/var/www/xxx/xxx",
"distZipName": "dist",
"bakeup": false
}
}
]Description
1.2.7
4 years ago
1.2.6
5 years ago
1.2.5
5 years ago
1.2.4
5 years ago
1.2.3
5 years ago
1.2.2
5 years ago
1.2.1
5 years ago
1.2.0
5 years ago
1.1.9
5 years ago
1.1.8
5 years ago
1.1.7
5 years ago
1.1.6
5 years ago
1.1.5
5 years ago
1.1.4
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.0
5 years ago