npm

Need private packages and team management tools?Check out npm Orgs. »

grunt-contrib-kraken

0.1.3 • Public • Published

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-kraken');
grunt.registerTask('default', ['kraken']);

install

npm i grunt-contrib-kraken

Downloadsweekly downloads

29

version

0.1.3

license

MIT

homepage

kraken.io

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability