!function(){"use strict";var e=require("gulp"),s=require("gulp-autoprefixer"),r=require("gulp-cssmin"),t=(require("gulp-concat"),require("gulp-jshint")),i=require("gulp-notify"),p=require("gulp-rename"),n=require("gulp-sass"),l=require("jshint-stylish"),o=(require("gulp-uglify"),["./sass/**/*.scss"]),u=["./js/src/**/*.js"];e.task("styles",(function(){return e.src(o).pipe(n({outputStyle:"expanded"})).on("error",i.onError({title:"Error compiling Sass",message:"Check the console for info"})).on("error",n.logError).pipe(s()).pipe(e.dest("./css")).pipe(r()).pipe(p({suffix:".min"})).pipe(e.dest("./css"))})),e.task("styles:watch",(function(){e.watch(o,["styles"])})),e.task("lint",(function(){return e.src(u).pipe(t()).pipe(t.reporter(l)).pipe(t.reporter("fail")).on("error",i.onError({title:"JS hint failed",message:"Check the console for errors"}))})),e.task("scripts:watch",(function(){e.watch(u,["lint"])})),e.task("default",["styles","lint","styles:watch","scripts:watch"]),e.task("styles:dev",["styles","styles:watch"]),e.task("scripts:dev",["lint","scripts:watch"])}();