1.0.1 • Published 8 years ago

redeploy v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

🎨 redeploy npm

redeploy deploys subreddit stylesheets to reddit.com as part of a gulp pipeline.

Usage

# yarn
$ yarn add redeploy

# npm
$ npm install --save redeploy
var redeploy = require('redeploy')({
  clientID: 'reddit api client id',
  clientSecret: 'reddit api client secret',
  username: 'reddit username',
  password: 'reddit password',
  subreddit: 'subreddit to deploy to (without /r/ prefix)'
})

gulp.task('deploy-css', function() {
  return gulp.src('*.css')
    // you may want to minify your css here
    .pipe(redeploy.css())
});

gulp.task('deploy-images', function() {
  return gulp.src('img/*')
    .pipe(redeploy.images())
});