{"size": 767, "ext": "js", "max_stars_repo_path": "node_modules/gulp-awspublish/examples/simple.js", "max_stars_repo_name": "anelliabe/e-mail", "max_stars_repo_stars_event_min_datetime": "2016-04-06T17:55:27.000Z", "max_stars_repo_stars_event_max_datetime": "2021-01-30T09:40:54.000Z", "max_issues_repo_path": "node_modules/gulp-awspublish/examples/simple.js", "max_issues_repo_name": "anelliabe/e-mail", "max_issues_repo_issues_event_min_datetime": "2016-04-15T16:59:50.000Z", "max_issues_repo_issues_event_max_datetime": "2016-06-28T20:01:01.000Z", "max_forks_repo_path": "node_modules/gulp-awspublish/examples/simple.js", "max_forks_repo_name": "anelliabe/e-mail", "max_forks_repo_forks_event_min_datetime": "2016-05-18T16:58:54.000Z", "max_forks_repo_forks_event_max_datetime": "2016-05-18T16:58:54.000Z"}
{"max_stars_count": 3, "max_issues_count": 12, "max_forks_count": 1, "avg_line_length": 24.7419354839, "max_line_length": 78, "alphanum_fraction": 0.6531942634}
var fs = require('fs');
var gulp = require('gulp');
var awspublish = require('../');

var credentials = JSON.parse(fs.readFileSync('aws-credentials.json', 'utf8'));
var publisher = awspublish.create(credentials);

gulp
  .src('./examples/**/*.js')
  .pipe(publisher.publish())
  .pipe(publisher.sync())
  .pipe(awspublish.reporter())

// log [create] concurrent.js
// log [create] events.js
// log [create] merge-streams.js
// log [create] rename.js
// log [create] simple.js
// log [create] fixtures/bar.js
// log [create] fixtures/foo.js
// log [create] public/assets/js/foo.js

// gulp
//   .src('examples/fixtures/*.js')
//   .pipe(publisher.publish())
//   .pipe(publisher.sync())
//   .pipe(awspublish.reporter())

// log [skip]   bar.js
// log [skip]   foo.js
