New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

zeploy

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zeploy

自动化部署工具

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

ZEPLOY

Automated deployment tool

Installation and Usage

Local

Installation

npm install zeploy --D

or

yarn add zeploy -D

config

create an environment configuration:

./node_modules/.bin/zeploy config production

Global

Installation

npm install -g zeploy

or

yarn global add zeploy

config

create an environment configuration:

zeploy config production

Configuration

edit zeploy.config.js in root directory:

module.exports = {
  "production": {
    "ssh": {
      "host": "123.45.67.89",
      "username": "root",
      "password": "123456"
    },
    /** Relative path */
    "distPath": "dist",
    /** Absolute path */
    "targetPath": "/project/project-name",
    /** Save the number of published versions(default 10) */
    "keepReleases": "10",
    /** Can only be executed if the environment name is exactly the same as the branch name */
    "checkBranch": false
  }
}

then deploy your project:

zeploy publish production

result:

// your distPath
dist
- index.html
- static
  - css
    - app.css
  - img
  - js
    - 0.js
    - 1.js
    - 2.js
    - app.js
    - vendor.js
    - manifest.js
// your targetPath
project
  - project-name
    - releases
    - dist
      - index.html
      - static
        - css
          - app.css
        - img
        - js
          - 0.js
          - 1.js
          - 2.js
          - app.js
          - vendor.js
          - manifest.js

Keywords

deploy

FAQs

Package last updated on 03 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts