Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trustvox/gulp-minio
A gulp plugin to publish files to minio s3
https://github.com/trustvox/gulp-minio
babel es6 gulp gulp-plugin minio minio-server nodejs
Last synced: 26 days ago
JSON representation
A gulp plugin to publish files to minio s3
- Host: GitHub
- URL: https://github.com/trustvox/gulp-minio
- Owner: trustvox
- License: mit
- Created: 2018-07-05T18:56:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-03T12:08:36.000Z (about 6 years ago)
- Last Synced: 2024-11-14T12:54:46.632Z (about 2 months ago)
- Topics: babel, es6, gulp, gulp-plugin, minio, minio-server, nodejs
- Language: JavaScript
- Homepage: https://minio.io
- Size: 73.2 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gulp-minio
> A gulp plugin to publish files to minio s3[![Build Status](https://travis-ci.org/brunoocasali/gulp-minio.svg?branch=master)](https://travis-ci.org/brunoocasali/gulp-minio)
![npm](https://img.shields.io/npm/v/gulp-minio.svg)## Install
First, install `gulp-minio` as a development dependency:
```shell
npm install gulp-minio --save-dev
```Then, add it to your `gulpfile.coffee` or `gulpfile.js`:
### Usage
Coffescript way:
```coffee
gulp = require 'gulp'
minio = require 'gulp-minio'bucket = 'my-bucket-name'
config = {
endPoint: 'storage.example.com',
secure: true,
accessKey: 'your access key here',
secretKey: 'your secret key here'
}# suppose you want to publish public files:
gulp.src 'public/**/*'
.pipe minio(bucket, config)
```Or a decaff way:
```js
var bucket, config, gulp, minio;gulp = require('gulp');
minio = require('gulp-minio');bucket = 'my-bucket-name';
config = {
endPoint: 'storage.example.com',
secure: true,
accessKey: 'your access key here',
secretKey: 'your secret key here'
};// suppose you want to publish public files:
gulp.src('public/**/*')
.pipe(minio(bucket, config));
```