Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Commit

Permalink
Replace imagemin-jpegoptim with imagemin-mozjpeg.
Browse files Browse the repository at this point in the history
* Uplift node modules
  • Loading branch information
ducksoupdev committed Sep 22, 2015
1 parent 1921834 commit b2db09c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 32 deletions.
5 changes: 0 additions & 5 deletions CHANGELOG.md

This file was deleted.

4 changes: 2 additions & 2 deletions gulp/tasks/image-min.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
'use strict';

var gulp = require('gulp'),
jpegoptim = require('imagemin-jpegoptim'),
imageminMozjpeg = require('imagemin-mozjpeg'),
pngquant = require('imagemin-pngquant'),
optipng = require('imagemin-optipng');

gulp.task('image-min', function () {
return gulp.src('./src/images/**/*.{png,jpg,jpeg,gif,svg}')
.pipe(optipng({optimizationLevel: 3})())
.pipe(pngquant({quality: '65-80', speed: 4})())
.pipe(jpegoptim({max: 70})())
.pipe(imageminMozjpeg({quality: 70})())
.pipe(gulp.dest('./build/images'));
});
})();
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gulp-site-generator",
"version": "0.1.12",
"version": "0.1.14",
"description": "Static site generator using Gulp",
"main": "gulpfile.js",
"scripts": {
Expand All @@ -14,40 +14,40 @@
"author": "Matt Levy <ducksoupdev@gmail.com>",
"license": "ISC",
"dependencies": {
"bluebird": "^2.9.33",
"bluebird": "^2.9.7",
"downsize": "0.0.8",
"glob": "^5.0.13",
"globby": "^2.1.0",
"gulp": "^3.9.0",
"glob": "^5.0.14",
"globby": "^3.0.1",
"gulp": "^3.8.10",
"gulp-compile-handlebars": "^0.5.0",
"gulp-concat": "^2.6.0",
"gulp-concat": "^2.4.3",
"gulp-connect": "^2.2.0",
"gulp-if": "^1.2.5",
"gulp-markdown-to-json": "^0.2.1",
"gulp-minify-css": "^1.2.0",
"gulp-minify-html": "^1.0.3",
"gulp-rename": "^1.2.2",
"gulp-sass": "^2.0.3",
"gulp-uglify": "^1.2.0",
"gulp-uncss": "^1.0.2",
"handlebars": "^3.0.3",
"imagemin-jpegoptim": "^4.0.0",
"imagemin-optipng": "^4.3.0",
"imagemin-pngquant": "^4.1.0",
"lodash": "^3.10.0",
"minimist": "^1.1.1",
"moment": "^2.10.3",
"gulp-minify-css": "^1.2.1",
"gulp-minify-html": "^1.0.4",
"gulp-rename": "^1.2.0",
"gulp-sass": "^2.0.4",
"gulp-uglify": "^1.1.0",
"gulp-uncss": "^1.0.0",
"handlebars": "^4.0.2",
"imagemin-mozjpeg": "^5.1.0",
"imagemin-optipng": "^4.2.0",
"imagemin-pngquant": "^4.0.0",
"lodash": "^3.10.1",
"minimist": "^1.1.0",
"moment": "^2.9.0",
"mout": "^0.11.0",
"require-dir": "^0.3.0",
"rss": "^1.1.1"
},
"devDependencies": {
"chai": "^3.0.0",
"gulp-coveralls": "^0.1.4",
"chai": "^3.3.0",
"gulp-coveralls": "^0.1.3",
"gulp-istanbul": "^0.10.0",
"gulp-mocha": "^2.1.2",
"mocha": "^2.2.5",
"gulp-mocha": "^2.0.0",
"mocha": "^2.1.0",
"mockery": "^1.4.0",
"sinon": "^1.15.4"
"sinon": "^1.12.2"
}
}
}

0 comments on commit b2db09c

Please sign in to comment.