Compare commits

..

2 Commits

Author SHA1 Message Date
68589525d4 Updated npm dependencies 2020-12-09 00:09:02 +01:00
c2713d7632 Fixed gulp-notify errors 2020-12-09 00:08:27 +01:00
3 changed files with 10807 additions and 1547 deletions

View File

@ -41,10 +41,10 @@ var SassConfig = {
function scss_addons() { function scss_addons() {
var onError = function(err) { var onError = function(err) {
notify.onError({ notify.onError({
title: 'scss_addons', "title": "scss_addons",
subtitle: 'Error!', "subtitle": "Error!",
message: '❌ <%= error.message %>', "message": "❌ <%= error.message %>",
sound: 'Submarine' "sound": "Submarine"
})(err); })(err);
this.emit('end'); this.emit('end');
}; };
@ -61,20 +61,20 @@ function scss_addons() {
.pipe(gulp.dest(SassConfig.outputDir)) .pipe(gulp.dest(SassConfig.outputDir))
.pipe(livereload()) .pipe(livereload())
.pipe(notify({ .pipe(notify({
title: 'scss_addons', "title": "scss_addons",
subtitle: 'Success!', "subtitle": "Success!",
message: '✅ SCSS compiled', "message": "✅ SCSS compiled",
timeout: '2' "timeout": "2"
})); }));
} }
function scss_main() { function scss_main() {
var onError = function(err) { var onError = function(err) {
notify.onError({ notify.onError({
title: 'scss_main', "title": "scss_main",
subtitle: 'Error!', "subtitle": "Error!",
message: '❌ <%= error.message %>', "message": "❌ <%= error.message %>",
sound: 'Submarine' "sound": "Submarine"
})(err); })(err);
this.emit('end'); this.emit('end');
}; };
@ -91,10 +91,10 @@ function scss_main() {
.pipe(gulp.dest(SassConfig.outputDir)) .pipe(gulp.dest(SassConfig.outputDir))
.pipe(livereload()) .pipe(livereload())
.pipe(notify({ .pipe(notify({
title: 'scss_main', "title": "scss_main",
subtitle: 'Success!', "subtitle": "Success!",
message: '✅ SCSS compiled', "message": "✅ SCSS compiled",
timeout: '2' "timeout": "2"
})); }));
}; };

12274
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{ {
"name": "website_template", "name": "website_template",
"description": "npm & gulp development template", "description": "npm & gulp development template",
"version": "3.0.3", "version": "3.0.4",
"author": "Jan Jastrow", "author": "Jan Jastrow",
"license": "MIT", "license": "MIT",
"homepage": "https://jan.jastrow.me", "homepage": "https://jan.jastrow.me",
@ -16,20 +16,20 @@
"url": "https://gitea.schwerkraftlabor.de/jan/website_template" "url": "https://gitea.schwerkraftlabor.de/jan/website_template"
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "^9.8.0", "autoprefixer": "^10.1.0",
"caniuse-lite": "^1.0.30001066", "caniuse-lite": "^1.0.30001165",
"cssnano": "^4.1.10", "cssnano": "^4.1.10",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"gulp-concat": "^2.6.1", "gulp-concat": "^2.6.1",
"gulp-livereload": "^4.0.2", "gulp-livereload": "^4.0.2",
"gulp-notify": "^3.2.0", "gulp-notify": "^3.2.0",
"gulp-plumber": "^1.2.1", "gulp-plumber": "^1.2.1",
"gulp-postcss": "^8.0.0", "gulp-postcss": "^9.0.0",
"gulp-rename": "^2.0.0", "gulp-rename": "^2.0.0",
"gulp-sass": "^4.1.0", "gulp-sass": "^4.1.0",
"merge2": "^1.3.0", "merge2": "^1.4.1",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"sanitize.css": "^11.0.1" "sanitize.css": "^12.0.1"
}, },
"browserslist": [ "browserslist": [
"last 2 version", "last 2 version",