npm

redeploy

1.0.1 • Public • Published

🎨 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())
});

Readme

Keywords

none

Package Sidebar

Install

npm i redeploy

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • marksomnian
  • komp