{"size": 589, "ext": "js", "max_stars_repo_path": "gulpfile.babel.js", "max_stars_repo_name": "IronCountySchoolDistrict/gulp-ps-tasks", "max_stars_repo_stars_event_min_datetime": "2016-03-02T22:30:28.000Z", "max_stars_repo_stars_event_max_datetime": "2016-03-02T22:30:28.000Z", "max_issues_repo_path": "gulpfile.babel.js", "max_issues_repo_name": "IronCountySchoolDistrict/gulp-ps-tasks", "max_issues_repo_issues_event_min_datetime": "2016-08-04T22:08:42.000Z", "max_issues_repo_issues_event_max_datetime": "2016-08-04T22:08:42.000Z", "max_forks_repo_path": "gulpfile.babel.js", "max_forks_repo_name": "IronCountySchoolDistrict/gulp-ps-tasks", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 19.0, "max_line_length": 63, "alphanum_fraction": 0.6179966044}
import gulp from 'gulp';
import gulpLoadPlugins from 'gulp-load-plugins';
import runSequence from 'run-sequence';
import del from 'del';

const plugins = gulpLoadPlugins();

gulp.task('build:copy', () =>
  gulp.src([
    'LICENSE',
    'README.md',
    'package.json',
    '.config.example.json'
  ])
  .pipe(gulp.dest('dist'))
);

gulp.task('build:babel', () =>
  gulp.src('index.js')
  .pipe(plugins.babel())
  .pipe(gulp.dest('dist'))
);

gulp.task('clean', () =>
  del(['dist/*'])
);

gulp.task('build', (callback) =>
  runSequence('clean', ['build:copy', 'build:babel'], callback)
);
