gulp-highwinds

0.1.0 • Public • Published

gulp-highwinds

NPM

Highwinds plugin for gulp based on gulp-cloudfiles.

Install

npm install --save-dev gulp-highwinds

Config

Setup a highwinds.json file or load these through another config file or env vars.

{
  "username": "HIGHWINDS-USERNAME",
  "password": "HIGHWINDS-PASSWORD",
  "authUrl": "HIGHWINDS-AUTH-URL",
  "container": "HIGHWINDS-CONTAINER"
}

Usage

var fs = require('fs')
var gulp = require('gulp');
var openstack = require("gulp-highwinds");
var highwinds = JSON.parse(fs.readFileSync('./rackspace.json'));
 
var options = {}
 
gulp.task('highwinds', function() {
  return gulp.src('./dist/**', {read: false})
    .pipe(openstack(highwinds, options));
});

Options

  • headers
    • Headers to set to each file uploaded
    • Type: object
    • Default: {}
  • uploadPath
    • Type: String
    • Default: ""

License

MIT License

Package Sidebar

Install

npm i gulp-highwinds

Weekly Downloads

0

Version

0.1.0

License

none

Last publish

Collaborators

  • henrrrik