Compare commits

..

No commits in common. "master" and "3.0.3" have entirely different histories.

4 changed files with 3364 additions and 8004 deletions

1
.npmrc
View File

@ -1 +0,0 @@
engine-strict=true

View File

@ -4,7 +4,7 @@
//:: Initiate npm-modules //:: Initiate npm-modules
const gulp = require('gulp'), const gulp = require('gulp'),
sass = require('gulp-sass')(require('sass')), sass = require('gulp-sass'),
concat = require('gulp-concat'), concat = require('gulp-concat'),
livereload = require('gulp-livereload'), livereload = require('gulp-livereload'),
notify = require('gulp-notify'), notify = require('gulp-notify'),
@ -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'
})); }));
}; };

11314
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.2.0", "version": "3.0.3",
"author": "Jan Jastrow", "author": "Jan Jastrow",
"license": "MIT", "license": "MIT",
"homepage": "https://jan.jastrow.me", "homepage": "https://jan.jastrow.me",
@ -16,21 +16,20 @@
"url": "https://gitea.schwerkraftlabor.de/jan/website_template" "url": "https://gitea.schwerkraftlabor.de/jan/website_template"
}, },
"devDependencies": { "devDependencies": {
"sass": "^1.49.7", "autoprefixer": "^9.8.0",
"caniuse-lite": "^1.0.30001066",
"cssnano": "^4.1.10",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"gulp-sass": "^5.1.0",
"gulp-concat": "^2.6.1", "gulp-concat": "^2.6.1",
"gulp-livereload": "^4.0.2", "gulp-livereload": "^4.0.2",
"gulp-notify": "^4.0.0", "gulp-notify": "^3.2.0",
"gulp-plumber": "^1.2.1", "gulp-plumber": "^1.2.1",
"gulp-postcss": "^9.0.1", "gulp-postcss": "^8.0.0",
"gulp-rename": "^2.0.0", "gulp-rename": "^2.0.0",
"merge2": "^1.4.1", "gulp-sass": "^4.1.0",
"merge2": "^1.3.0",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"sanitize.css": "^13.0.0", "sanitize.css": "^11.0.1"
"autoprefixer": "^10.4.2",
"caniuse-lite": "^1.0.30001312",
"cssnano": "^5.0.17"
}, },
"browserslist": [ "browserslist": [
"last 2 version", "last 2 version",