{"size": 688, "ext": "js", "max_stars_repo_path": "speakers/jdegoes/intro-purescript/bower_components/purescript-dom/gulpfile.js", "max_stars_repo_name": "nuttycom/lambdaconf-2015-upstream", "max_stars_repo_stars_event_min_datetime": "2015-05-19T21:02:51.000Z", "max_stars_repo_stars_event_max_datetime": "2021-10-09T01:30:39.000Z", "max_issues_repo_path": "speakers/jdegoes/intro-purescript/bower_components/purescript-dom/gulpfile.js", "max_issues_repo_name": "rtfeldman/lambdaconf-2015", "max_issues_repo_issues_event_min_datetime": "2015-05-12T00:22:15.000Z", "max_issues_repo_issues_event_max_datetime": "2016-08-31T00:51:49.000Z", "max_forks_repo_path": "speakers/jdegoes/intro-purescript/bower_components/purescript-dom/gulpfile.js", "max_forks_repo_name": "rtfeldman/lambdaconf-2015", "max_forks_repo_forks_event_min_datetime": "2015-05-06T23:17:26.000Z", "max_forks_repo_forks_event_max_datetime": "2017-04-09T06:48:05.000Z"}
{"max_stars_count": 100, "max_issues_count": 12, "max_forks_count": 63, "avg_line_length": 24.5714285714, "max_line_length": 83, "alphanum_fraction": 0.6177325581}
"use strict";

var gulp = require("gulp");
var plumber = require("gulp-plumber");
var purescript = require("gulp-purescript");
var jsvalidate = require("gulp-jsvalidate");

gulp.task("make", function() {
  return gulp.src(["src/**/*.purs", "bower_components/purescript-*/src/**/*.purs"])
    .pipe(plumber())
    .pipe(purescript.pscMake());
});

gulp.task("jsvalidate", ["make"], function () {
  return gulp.src("output/**/*.js")
    .pipe(plumber())
    .pipe(jsvalidate());
});

gulp.task("docs", function () {
  return gulp.src("src/**/*.purs")
    .pipe(plumber())
    .pipe(purescript.pscDocs())
    .pipe(gulp.dest("README.md"));
});

gulp.task("default", ["jsvalidate", "docs"]);
