"use strict"
var gulp = require("gulp");
var eslint = require("gulp-eslint");
var babel = require("gulp-babel");
var SOURCE_PATH = ["./src/**/*.js", "./src/**/*.jsx"];


gulp.task("build", function () {
  return gulp.src(SOURCE_PATH)
    .pipe(babel())
    .pipe(gulp.dest("lib"));
});
gulp.task("watch", function(callback) { gulp.watch(SOURCE_PATH, ["build"]) });




gulp.task("lint", function() {
  return gulp.src(SOURCE_PATH)
    .pipe(eslint())
    .pipe(eslint.format());
});



gulp.task("default", ["build", "watch"]);

"use strict"
var gulp = require("gulp");
var eslint = require("gulp-eslint");
var babel = require("gulp-babel");
var SOURCE_PATH = ["./src/**/*.js", "./src/**/*.jsx"];


// gulp.task("build", function () {
//   return gulp.src(SOURCE_PATH)
//     .pipe(babel())
//     .pipe(gulp.dest("lib"));
// });
// gulp.task("watch", function(callback) { gulp.watch(SOURCE_PATH, ["build"]) });




gulp.task("lint", function() {
  return gulp.src(SOURCE_PATH)
    .pipe(eslint())
    .pipe(eslint.format());
});



gulp.task("default", ["lint"]);

Comment out build step (gulp).