Move tasks to separate files and simplify

This commit is contained in:
Stephan Hagedorn 2021-03-09 22:54:56 +01:00
parent dde26ec45e
commit 06ba111392
12 changed files with 1560 additions and 1030 deletions

View file

@ -1,23 +1,24 @@
const src = 'source/';
const dest = 'build/';
const dev = 'build/';
const dpl = 'deploy/';
const rep = 'reports/';
const config = {
src: src,
dest: dest,
dev: dev,
dpl: dpl,
rep: rep,
demo: true,
//these are not used while demo: true is set
index: 'index.html',
templateData: src + 'templates/data.json',
frontendData: src + 'data/**/*.json',
hippie: {
brand: 'hippie',
titlePrefix: ' - HIPPIE',
pageBase: './',
jsFile: 'main',
jsonFile: 'db'
pageBase: './'
}
}