Skip to content

Grunt plugin to optimize all your images with the powerful Kraken.io API

License

Notifications You must be signed in to change notification settings

kraken-io/grunt-contrib-kraken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-kraken

Grunt plugin to optimize all your images with the powerful Kraken.io API

var grunt = require('grunt');

grunt.initConfig({
    kraken: {
        options: {
            key: 'kraken-api-key-here',
            secret: 'kraken-api-secret-here',
            lossy: true
        },

        dynamic: {
            files: [{
                expand: true,
                cwd: 'src/images/',
                src: ['**/*.{png,jpg,jpeg,gif}'],
                dest: 'dst/images-optimized/'
            }]
        }
    }
});

grunt.loadNpmTasks('grunt-contrib-kraken');
grunt.registerTask('default', ['kraken']);

About

Grunt plugin to optimize all your images with the powerful Kraken.io API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published