Skip to content

Commit

Permalink
Updated minification, minified images
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Totten committed Jan 17, 2016
1 parent d92a952 commit 864a500
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 6 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/connections/open-id.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/connections/sharepoint.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/landings/banner/twitter-card-iam.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/landings/iam-what-is/iam-what-is.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/landings/sso-how-it-works/diagram-single-sign-on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
"author": "Auth0 Inc.",
"devDependencies": {
"commander": "^2.8.1",
"dotenv": "^1.2.0",
"imagemin": "^4.0.0",
"imagemin-zopfli": "^4.1.0",
"lsr": "^1.0.0",
"tinify": "^1.1.1",
"zopflipng-bin": "^3.0.1"
"imagemin-optipng": "^4.3.0"
}
}
3 changes: 2 additions & 1 deletion tools.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var program = require('commander');
var fs = require('fs');
var Imagemin = require('imagemin');
var imageminZopfli = require('imagemin-zopfli');
var imageminOptipng = require('imagemin-optipng');

var redirectFilePath = './redirect-urls.json';
var addRedirect = function(oldUrl, newUrl, callback) {
Expand Down Expand Up @@ -51,6 +51,7 @@ program.command('img')
new Imagemin()
.src('media/**/*.png')
.dest('media')
.use(imageminOptipng({optimizationLevel: 3}))
.run((err, files) => {
if (err) {
console.error(err);
Expand Down

0 comments on commit 864a500

Please sign in to comment.