series(deploy, () => { return src(config.zip.src) .pipe(zip(getTimestamp() + getProject(process.argv) + config.zip.name)) .pipe(dest(config.zip.dest)); })
series(defaultTasks, cb => { browserSync.init({ server: { baseDir: 'public' }, online: false }); watch(config.watch.images, series(images, bsReload)); watch(config.watch.vendorJS, series(vendorJS, bsReload)); watch(config.watch.humansTXT, humansTXT); watch(config.watch.styles, styles); watch(config.watch.scripts, series(scripts, bsReload)); watch(config.watch.templates, series(templates, bsReload)); cb(); })
series(lintTest, async function test() { return runTests(); })
series(parallel(cleanDocs, lintSrc), async () => { const esdoc = require('esdoc').default; esdoc.generate({ // debug: true, destination: docsDir, plugins: [ { name: 'esdoc-standard-plugin', option: { brand: { title: manifest.name, description: manifest.description, respository: manifest.repository, site: manifest.homepage } } }, { name: 'esdoc-ecmascript-proposal-plugin', option: { all: true } } ], source: './src' }); })
series(cleanCoverage, lintTest, build, async function test() { return runTests(true); })
series(lintTest, build, async function test() { return runTests(); })
series(cleanCoverage, lintTest, async function test() { return runTests(true); })