Removed all the demo stuff

This commit is contained in:
Nicolai Ort 2020-08-29 14:02:59 +02:00
parent bf9caccd06
commit 89a3a665ed
1 changed files with 2 additions and 7 deletions

View File

@ -114,16 +114,13 @@ function demoCss() {
function watchFiles() { function watchFiles() {
watch('./src/html/component.html', html); watch('./src/html/component.html', html);
watch('./src/scss/component.scss', css); watch('./src/scss/component.scss', css);
watch(['./src/js/mailymaily.js', './package.json'], series(js, lintDemoJs, processDemoJs)); watch(['./src/js/mailymaily.js', './package.json']);
watch('./demo/demo.scss', demoCss);
watch('./demo/demo.js', demoJs);
} }
/** /**
* Define complex tasks. * Define complex tasks.
*/ */
const demoJs = series(lintDemoJs, processDemoJs); const build = series(parallel(html, css), js);
const build = series(parallel(html, css), js, demoJs, demoCss);
const watching = series(build, watchFiles); const watching = series(build, watchFiles);
/** /**
@ -132,7 +129,5 @@ const watching = series(build, watchFiles);
exports.html = html; exports.html = html;
exports.css = css; exports.css = css;
exports.js = js; exports.js = js;
exports.demoJs = demoJs;
exports.demoCss = demoCss;
exports.watch = watching; exports.watch = watching;
exports.default = build; exports.default = build;