{"size": 358, "ext": "js", "max_stars_repo_path": "scripts/build.js", "max_stars_repo_name": "aqutw/react-input-valid", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "scripts/build.js", "max_issues_repo_name": "aqutw/react-input-valid", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "scripts/build.js", "max_forks_repo_name": "aqutw/react-input-valid", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.8888888889, "max_line_length": 39, "alphanum_fraction": 0.6424581006}
import webpack from 'webpack'
import webConf from '../webpack.config'
import del from 'del'
import gulp from 'gulp'
import rename from 'gulp-rename'
import uglify from 'gulp-uglify'

del.sync('dist')
webpack(webConf, (er, stats)=> {
  gulp.src('dist/*.js')
    .pipe(uglify())
    .pipe(rename({
      suffix: '.min'
    }))
    .pipe(gulp.dest('dist'))
})

