{"size": 441, "ext": "js", "max_stars_repo_path": "gulpfile.js", "max_stars_repo_name": "neki-dev/contrast-arrays", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "gulpfile.js", "max_issues_repo_name": "neki-dev/contrast-arrays", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "gulpfile.js", "max_forks_repo_name": "neki-dev/contrast-arrays", "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": 31.5, "max_line_length": 78, "alphanum_fraction": 0.664399093}
const gulp = require("gulp");
const ts = require("gulp-typescript");
const merge = require("merge2");
const uglify = require('gulp-uglify');
const tsConfig = require('./tsconfig.json');

gulp.task("default", function () {
  const tsResult = gulp.src('src/**/*.ts').pipe(ts(tsConfig.compilerOptions));
  const output = gulp.dest('dist/');
  return merge([
    tsResult.js.pipe(uglify()).pipe(output),
    tsResult.dts.pipe(output), 
  ]);
});