0.0.5 • Published 2 years ago

qiniu-sync v0.0.5

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

qiniu-sync

Usage

  1. download config template from here.

  2. exec command

    pnpx qiniu-sync [path-to-listen] [-c <path-to-config-json>]

Parameters

path-to-listen

default: process.cwd()

path-to-config-json

config file name(JSON file)
default: config.json

Config

{
    "dir": "", // local path to sync
    "accessKey": "", // qiniu accessKey
    "secretKey": "", // qiniu secretKey
    "bucket": "", // qiniu bucket
    "prefix": "", // create subdirectory in bucket if prefix is set.
    "ignore": "", // ignore rule to skip upload files.
    "image": {
        "slim": false // whether imagemin compress image files(now support .png, jpeg(jpg))
    },
    "logResourceUrl": {
        "https": true // use https link
    }
}
0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago