modern-spa-boilerplate
Version:
Modern Boilerplate for Single Page Applications
30 lines (24 loc) • 485 B
JavaScript
/* eslint id-length: 0 */
import test from "ava"
import "babel-register"
import gulp from "gulp"
import loadPlugins from "load-plugins"
import "./gulpfile.babel"
const $ = loadPlugins("gulp-*")
test("Successfully loaded", (t) =>
{
t.is(typeof gulp.task, "function")
t.is(typeof gulp.start, "function")
})
test("Plugins Ready", (t) =>
{
t.is(typeof $, "object")
})
test("Running Build", (t) =>
{
gulp.start("build")
})
test("Running Dist", (t) =>
{
gulp.start("dist")
})