diff --git a/code/gulpfile.js b/code/gulpfile.js index 2348ef4c..518e11ee 100644 --- a/code/gulpfile.js +++ b/code/gulpfile.js @@ -36,7 +36,7 @@ const inline = require('gulp-inline'); const inlineImages = require('gulp-css-base64'); const favicon = require('gulp-base64-favicon'); const htmllint = require('gulp-htmllint'); -const gutil = require('gulp-util'); +const log = require('fancy-log'); const csslint = require('gulp-csslint'); const dataFolder = 'espurna/data/'; @@ -76,10 +76,13 @@ var toHeader = function(filename) { var htmllintReporter = function(filepath, issues) { if (issues.length > 0) { issues.forEach(function (issue) { - gutil.log( - gutil.colors.cyan('[gulp-htmllint] ') + - gutil.colors.white(filepath + ' [' + issue.line + ',' + issue.column + ']: ') + - gutil.colors.red('(' + issue.code + ') ' + issue.msg) + log.info( + '[gulp-htmllint] ' + + filepath + ' [' + + issue.line + ',' + + issue.column + ']: ' + + '(' + issue.code + ') ' + + issue.msg ); }); process.exitCode = 1; diff --git a/code/package.json b/code/package.json index 0d2a39c5..62993d90 100644 --- a/code/package.json +++ b/code/package.json @@ -7,6 +7,7 @@ "license": "GPL-3.0", "devDependencies": { "del": "^2.2.1", + "fancy-log": "^1.3.2", "gulp": "^3.9.1", "gulp-base64-favicon": "^1.0.2", "gulp-clean-css": "^3.4.2", @@ -16,8 +17,6 @@ "gulp-htmllint": "0.0.14", "gulp-htmlmin": "^2.0.0", "gulp-inline": "^0.1.1", - "gulp-uglify": "^1.5.3", - "gulp-util": "^3.0.8" - }, - "dependencies": {} + "gulp-uglify": "^1.5.3" + } }