maintenance

* added sprite file to gitignore
* removed linting from dev task
* testing new npm scripts
This commit is contained in:
Stephan Hagedorn 2020-05-24 17:33:54 +02:00
parent df064b8a94
commit d812ed6208
3 changed files with 13 additions and 7 deletions

View file

@ -98,7 +98,7 @@ if (fs.existsSync('source/data/data.json')) {
// Clean build folder
function clean() {
return del(output.root + '/**');
return del([output.root + '/**', output.reports + '/**']);
}
// Automagically reload browsers
@ -289,8 +289,10 @@ function vendor() {
function overview() {
watch([input.templates, input.screens, input.demo.data], series(nunjucks, reload));
watch(input.style, series(styleLint, style, reload));
watch(input.code, series(codeLint, code, reload));
// watch(input.style, series(styleLint, style, reload));
watch(input.style, series(style, reload));
// watch(input.code, series(codeLint, code, reload));
watch(input.code, series(code, reload));
watch(input.fonts, series(fonts, reload));
watch(input.art.sprites, series(parallel(sprites, style), reload));
watch([input.art.favicons, input.art.images], series(art, reload));
@ -299,7 +301,8 @@ function overview() {
const assets = parallel(fonts, art, sprites, json, vendor);
const build = series(clean, assets, parallel(nunjucks, style, code));
const dev = series(clean, assets, parallel(nunjucks, series(styleLint, style), series(codeLint, code)));
// const dev = series(clean, assets, parallel(nunjucks, series(styleLint, style), series(codeLint, code)));
const dev = series(clean, assets, parallel(nunjucks, style, code));
exports.lint = parallel(series(style, styleLint), series(code, codeLint));
exports.validate = series(nunjucks, validate);

View file

@ -4,7 +4,10 @@
"description": "Hippie interweaves preeminent personal interface elements",
"main": "gulpfile.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"preversion": "npm test",
"version": "gulp build && git add -A dist",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
@ -49,4 +52,4 @@
"pump": "^3.0.0"
},
"dependencies": {}
}
}

@ -1 +1 @@
Subproject commit cb93384315c73cb926da7dc3838cb7226015180a
Subproject commit 50017657bacfe56d718cd906a858cfcd404362d9