grunt-graphics

0.1.5 • Public • Published

grunt-graphics

Build Status

Getting Started

Example config

grunt.initConfig({
    graphics: {
        assets: {
            src: "assets/**/*"
        }
    }
});

Example file in assets directory

File assets/images.js:

module.exports = [
    {
        options: [
            {suffix: '@1x', width: 768},
            {suffix: '@2x', width: (768 * 2)},
            {suffix: '@3x', width: (768 * 3)}
        ],
        files: {
            "dist/images/image-output.png": "src/image-source.psd"
        }
    }
];

/grunt-graphics/

    Package Sidebar

    Install

    npm i grunt-graphics

    Weekly Downloads

    2

    Version

    0.1.5

    License

    none

    Last publish

    Collaborators

    • gabrielbull