{"_id":"grunt-crusher","_rev":"39-ff75ecee4d380eea55683fffa0b698ec","name":"grunt-crusher","description":"A grunt plugin that will straight-up crush some images.","dist-tags":{"latest":"0.1.15"},"versions":{"0.1.0":{"name":"grunt-crusher","description":"A grunt plugin that will straight-up crush some images.","version":"0.1.0","homepage":"https://github.com/gcpantazis/grunt-crusher","author":{"name":"George Pantazis","email":"gcpantazis@gmail.com"},"repository":{"type":"git","url":"git://github.com/gcpantazis/grunt-crusher.git"},"bugs":{"url":"https://github.com/gcpantazis/grunt-crusher/issues"},"licenses":[{"type":"MIT","url":"https://github.com/gcpantazis/grunt-crusher/blob/master/LICENSE-MIT"}],"main":"grunt.js","engines":{"node":">=0.8.0"},"dependencies":{"grunt":"~0.3.4"},"devDependencies":{},"keywords":["gruntplugin"],"_id":"grunt-crusher@0.1.0","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.15","_nodeVersion":"v0.8.0","_defaultsLoaded":true,"_from":"grunt-crusher@>= 0.1.0","readme":"# grunt-crusher\n\nA grunt plugin that will straight-up crush some images.\n\nRight now I've only added 24-bit > 8-bit crushing. Goal is to integrate all the different smashers/smushers/crunchers that you could possibly need for all image types.\n\n##How to use\n\n* Install with: ```npm install grunt-crusher```.\n* Call ```grunt.loadNpmTasks('grunt-crusher')``` in grunt.js\n\n* In your grunt.js config:\n\n\t```\n\tcrusher: {\n\t\tapp: {\n\t\t\tfiles: [\n\t\t\t\t'/some-image.png',\n\t\t\t\t'/other/images/**/*.png'\n\t\t\t],\n\t\t\teightbit: true\n\t\t}\n\t}\n\t```\n\n##Changelog\n\n* v0.1.0 Initial release.\n\n\n## License\nCopyright (c) 2012 George Pantazis\nLicensed under the MIT license.\n","dist":{"shasum":"b23bf99051f573605ddc7a241485f4e083a0f4dc","tarball":"https://registry.npmjs.org/grunt-crusher/-/grunt-crusher-0.1.0.tgz","integrity":"sha512-REMgmx+sQCqi90sOiCy+48pVBpdp+GDlbPz4dekGU8n/5dG3zD3nCyPIljaRov0eCf6QMau+ZPWJovZ/EXLySg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQOgV3O9wMn6QVgntLmgmV0nNbym/09Yx16D6TNXvKxQIgeBP1TSjvasUp9ucyB9oN2+p+278fvhPNElFwBk/QrCI="}]},"maintainers":[{"name":"gcpantazis","email":"gcpantazis@gmail.com"}],"directories":{}},"0.1.1":{"name":"grunt-crusher","description":"A grunt plugin that will straight-up crush some images.","version":"0.1.1","homepage":"https://github.com/gcpantazis/grunt-crusher","author":{"name":"George Pantazis","email":"gcpantazis@gmail.com"},"repository":{"type":"git","url":"git://github.com/gcpantazis/grunt-crusher.git"},"bugs":{"url":"https://github.com/gcpantazis/grunt-crusher/issues"},"licenses":[{"type":"MIT","url":"https://github.com/gcpantazis/grunt-crusher/blob/master/LICENSE-MIT"}],"main":"grunt.js","engines":{"node":">=0.8.0"},"dependencies":{"grunt":"~0.3.4"},"devDependencies":{},"keywords":["gruntplugin"],"_id":"grunt-crusher@0.1.1","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.15","_nodeVersion":"v0.8.0","_defaultsLoaded":true,"_from":"grunt-crusher@>= 0.1.1","readme":"# grunt-crusher\n\nA grunt plugin that will straight-up crush some images.\n\nRight now I've only added 24-bit > 8-bit crushing. Goal is to integrate all the different smashers/smushers/crunchers that you could possibly need for all image types.\n\n##How to use\n\n* Install with: ```npm install grunt-crusher```.\n* Call ```grunt.loadNpmTasks('grunt-crusher')``` in grunt.js\n\n* In your grunt.js config:\n\n\t```\n\tcrusher: {\n\t\tapp: {\n\t\t\tfiles: [\n\t\t\t\t'/some-image.png',\n\t\t\t\t'/other/images/**/*.png'\n\t\t\t],\n\t\t\tdest: '/where/to/save/images', // Optional, will overwrite images if omitted.\n\t\t\teightbit: true\n\t\t}\n\t}\n\t```\n\n##Changelog\n\n* v0.1.1 Add optional destination/export directory.\n* v0.1.0 Initial release.\n\n\n## License\nCopyright (c) 2012 George Pantazis\nLicensed under the MIT license.\n","dist":{"shasum":"bdf983f5aad4a65dfbc249c2b777f8cc0a742265","tarball":"https://registry.npmjs.org/grunt-crusher/-/grunt-crusher-0.1.1.tgz","integrity":"sha512-/LOi+Oth47N/rypFg3fyGXxBLw5zjnckg5QvLpTaJte0ProrkrBEo1Qj3NF123f6djS0woyvA10et51E6vau3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJFUSgAC99oQQEC/Uk1eOFbSGwKl46pF8xNpmHhu5THgIgfSq3/yMWMx8pHJG5hPFqYKiRv8SwzKbn8hlyQsDe0QA="}]},"maintainers":[{"name":"gcpantazis","email":"gcpantazis@gmail.com"}],"directories":{}},"0.1.2":{"name":"grunt-crusher","description":"A grunt plugin that will straight-up crush some images.","version":"0.1.2","homepage":"https://github.com/gcpantazis/grunt-crusher","author":{"name":"George Pantazis","email":"gcpantazis@gmail.com"},"repository":{"type":"git","url":"git://github.com/gcpantazis/grunt-crusher.git"},"bugs":{"url":"https://github.com/gcpantazis/grunt-crusher/issues"},"licenses":[{"type":"MIT","url":"https://github.com/gcpantazis/grunt-crusher/blob/master/LICENSE-MIT"}],"main":"grunt.js","engines":{"node":">=0.8.0"},"dependencies":{"grunt":"~0.3.4"},"devDependencies":{},"keywords":["gruntplugin"],"readme":"#grunt-crusher\n\nA grunt plugin that will straight-up crush some images. **Very alpha.**\n\nBy \"very alpha\", I mean that you should be sure you're not pointing it at any images that don't have backups / can't be regenerated easily. For your own safety.\n\nCurrently: Uses `pngnq` for PNG quantization, `pngoptim` for trimming excess data out of the files.\n\n##How to use\n\n* Install with: ```npm install grunt-crusher```.\n* Call ```grunt.loadNpmTasks('grunt-crusher')``` in grunt.js\n\n* In your grunt.js config:\n\n\t```\n\tcrusher: {\n\t\tapp: {\n\t\t\tfiles: [\n\t\t\t\tIMAGES + '/icons-*.png'\n\t\t\t],\n\t\t\tdest: IMAGES + '/optimized', // optional\n\t\t\toptions: {\n\t\t\t\teightbit: true,\n\t\t\t\tpngout: true\n\t\t\t}\n\t\t}\n\t}\n\t```\n\n##Changelog\n\n* v0.1.2 Adding `pngoptim`, start working on how different bins will operate together.\n* v0.1.1 Add optional destination/export directory.\n* v0.1.0 Initial release.\n\n\n## License\nCopyright (c) 2012 George Pantazis\nLicensed under the MIT license.\n","_id":"grunt-crusher@0.1.2","dist":{"shasum":"3fe9d0c070e6a2ae1a3cf0d74034c1b316f15d56","tarball":"https://registry.npmjs.org/grunt-crusher/-/grunt-crusher-0.1.2.tgz","integrity":"sha512-Iq4itrZBQGAUCT7elVq4rYyv4dKndEN1xtp8FfKcdqdE4/lWHGYX1JZhjBejV1n2D+3JSBqkP30qaQMKrXHMAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG4PQIFgcuF5kRNiDqyjYWkf3YxPzzOgK32qwjyJgbJhAiEAvTa47Zw7divzwmU3T88Q4DuBcztBeCFV3LmRpneA61o="}]},"maintainers":[{"name":"gcpantazis","email":"gcpantazis@gmail.com"}],"directories":{}},"0.1.3":{"name":"grunt-crusher","description":"A grunt plugin that will straight-up crush some images.","version":"0.1.3","homepage":"https://github.com/gcpantazis/grunt-crusher","author":{"name":"George Pantazis","email":"gcpantazis@gmail.com"},"repository":{"type":"git","url":"git://github.com/gcpantazis/grunt-crusher.git"},"bugs":{"url":"https://github.com/gcpantazis/grunt-crusher/issues"},"licenses":[{"type":"MIT","url":"https://github.com/gcpantazis/grunt-crusher/blob/master/LICENSE-MIT"}],"main":"grunt.js","engines":{"node":">=0.8.0"},"dependencies":{"grunt":"~0.3.4"},"devDependencies":{},"keywords":["gruntplugin"],"readme":"#grunt-crusher\n\nA grunt plugin that will straight-up crush some images. **Very alpha.**\n\nBy \"very alpha\", I mean that you should be sure you're not pointing it at any images that don't have backups / can't be regenerated easily. For your own safety.\n\nCurrently: Uses `pngnq` for PNG quantization, `pngoptim` for trimming excess data out of the files.\n\n##How to use\n\n* Install with: ```npm install grunt-crusher```.\n* Call ```grunt.loadNpmTasks('grunt-crusher')``` in grunt.js\n\n* In your grunt.js config:\n\n\t```\n\tcrusher: {\n\t\tapp: {\n\t\t\tfiles: [\n\t\t\t\tIMAGES + '/icons-*.png'\n\t\t\t],\n\t\t\tdest: IMAGES + '/optimized', // optional\n\t\t\toptions: {\n\t\t\t\teightbit: true,\n\t\t\t\tpngout: true\n\t\t\t}\n\t\t}\n\t}\n\t```\n\n##Changelog\n\nCurrent: v0.1.3\n\nMajor Changes:\n\n* v0.1.2 Adding `pngoptim`, start working on how different bins will operate together.\n* v0.1.1 Add optional destination/export directory.\n* v0.1.0 Initial release.\n\n\n## License\nCopyright (c) 2012 George Pantazis\nLicensed under the MIT license.\n","_id":"grunt-crusher@0.1.3","dist":{"shasum":"988f20ba98118eccfe6574d32ce6d2d1ce32694c","tarball":"https://registry.npmjs.org/grunt-crusher/-/grunt-crusher-0.1.3.tgz","integrity":"sha512-6Wcx4h2VUs69efrkppmXAUh0AJwr57gQ3RWhva7jrx5dBxQxyh+sn2SQjywtzKk2gxI2dOW5qEAYZVoi2MC1kw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG+xivJJiDaWOG/Pus+P2aAq66KrJEy1Z5UJuF9i7kqHAiA4N/9XU/1jtDDU/lzwsPw9ntzYyvlpHvRgoEHjQu8kXg=="}]},"maintainers":[{"name":"gcpantazis","email":"gcpantazis@gmail.com"}],"directories":{}},"0.1.4":{"name":"grunt-crusher","description":"A grunt plugin that will straight-up crush some images.","version":"0.1.4","homepage":"https://github.com/gcpantazis/grunt-crusher","author":{"name":"George Pantazis","email":"gcpantazis@gmail.com"},"repository":{"type":"git","url":"git://github.com/gcpantazis/grunt-crusher.git"},"bugs":{"url":"https://github.com/gcpantazis/grunt-crusher/issues"},"licenses":[{"type":"MIT","url":"https://github.com/gcpantazis/grunt-crusher/blob/master/LICENSE-MIT"}],"main":"grunt.js","engines":{"node":">=0.8.0"},"dependencies":{"grunt":"~0.3.4"},"devDependencies":{},"keywords":["gruntplugin"],"readme":"#grunt-crusher\n\nA grunt plugin that will straight-up crush some images. **Very alpha.**\n\nBy \"very alpha\", I mean that you should be sure you're not pointing it at any images that don't have backups / can't be regenerated easily. For your own safety.\n\nCurrently supports `pngquant` for PNG quantization, `pngout` for trimming excess data out of the files. As part of the task you need to point crusher at the bins, which you'll either need to find or compile in your build env of choice.\n\n##How to use\n\n* Install with: ```npm install grunt-crusher```.\n* Call ```grunt.loadNpmTasks('grunt-crusher')``` in grunt.js\n\n* In your grunt.js config:\n\n\t```\n\tcrusher: {\n\t\ttask-one: {\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo-*.png',\n\t\t\t],\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: 'path/to/pngquant',\n\t\t\t\tpngout: 'path/to/pngout'\n\t\t\t}\n\t\t},\n\t\ttask-two: {\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo/*.png',\n\t\t\t\t'/path/to/images/bar/*.png',\n\t\t\t\t'/path/to/images/baz/*.png'\n\t\t\t],\n\t\t\tdestination: IMAGES + '/optimized',\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: 'path/to/pngquant'\n\t\t\t}\n\t\t}\n\t}\n\t```\n\n##Changelog\n\nCurrent: v0.1.3\n\nMajor Changes:\n\n* v0.1.4 Make it so that you have to define the bin locations as part of the task; making it platform independant was too tricky here. `dest` -> `destination` in task settings.\n* v0.1.2 Adding `pngout`, start working on how different bins will operate together.\n* v0.1.1 Add optional destination/export directory.\n* v0.1.0 Initial release.\n\n\n## License\nCopyright (c) 2012 George Pantazis\nLicensed under the MIT license.\n","_id":"grunt-crusher@0.1.4","dist":{"shasum":"af84f8cdfa5d49abcd86a59d22222750d2d3a1b1","tarball":"https://registry.npmjs.org/grunt-crusher/-/grunt-crusher-0.1.4.tgz","integrity":"sha512-USWJT0MICU6zn2v3DfQ2+Q2IC3rRd5LGiMU5UVzc/g7mK7QZOpdhCmz0NlkFPTY2lpa1brmdk9uMFRXO6RcRNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOgvJOXpS2GWYHZ6eoLoPbGdvvkr/tAeKxVfnoHPEMOgIhAL1AqO6xd1Nlh3v5NwtxXLoE2PC6mMHyFw4BxGPJHutU"}]},"maintainers":[{"name":"gcpantazis","email":"gcpantazis@gmail.com"}],"directories":{}},"0.1.5":{"name":"grunt-crusher","description":"A grunt plugin that will straight-up crush some images.","version":"0.1.5","homepage":"https://github.com/gcpantazis/grunt-crusher","author":{"name":"George Pantazis","email":"gcpantazis@gmail.com"},"repository":{"type":"git","url":"git://github.com/gcpantazis/grunt-crusher.git"},"bugs":{"url":"https://github.com/gcpantazis/grunt-crusher/issues"},"licenses":[{"type":"MIT","url":"https://github.com/gcpantazis/grunt-crusher/blob/master/LICENSE-MIT"}],"main":"grunt.js","engines":{"node":">=0.8.0"},"dependencies":{"grunt":"~0.3.4"},"devDependencies":{},"keywords":["gruntplugin"],"readme":"#grunt-crusher\n\nA grunt plugin that will straight-up crush some images. **Very alpha.**\n\nBy \"very alpha\", I mean that you should be sure you're not pointing it at any images that don't have backups / can't be regenerated easily. For your own safety.\n\nCurrently supports `pngquant` for PNG quantization, `pngout` for trimming excess data out of the files. As part of the task you need to point crusher at the bins, which you'll either need to find or compile in your build env of choice.\n\n##How to use\n\n* Install with: ```npm install grunt-crusher```.\n* Call ```grunt.loadNpmTasks('grunt-crusher')``` in grunt.js\n\n* In your grunt.js config:\n\n\t```\n\tcrusher: {\n\t\ttask-one: {\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo-*.png',\n\t\t\t],\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: 'path/to/pngquant',\n\t\t\t\tpngout: 'path/to/pngout'\n\t\t\t}\n\t\t},\n\t\ttask-two: {\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo/*.png',\n\t\t\t\t'/path/to/images/bar/*.png',\n\t\t\t\t'/path/to/images/baz/*.png'\n\t\t\t],\n\t\t\tdestination: IMAGES + '/optimized',\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: 'path/to/pngquant'\n\t\t\t}\n\t\t}\n\t}\n\t```\n\n##Changelog\n\nCurrent: v0.1.5\n\nMajor Changes:\n\n* v0.1.4 Make it so that you have to define the bin locations as part of the task; making it platform independant was too tricky here. `dest` -> `destination` in task settings.\n* v0.1.2 Adding `pngout`, start working on how different bins will operate together.\n* v0.1.1 Add optional destination/export directory.\n* v0.1.0 Initial release.\n\n\n## License\nCopyright (c) 2012 George Pantazis\nLicensed under the MIT license.\n","_id":"grunt-crusher@0.1.5","dist":{"shasum":"0955fc41dee24afdf14c5674dff21007425305f1","tarball":"https://registry.npmjs.org/grunt-crusher/-/grunt-crusher-0.1.5.tgz","integrity":"sha512-Xz/bT+6kyGveFy+R+l9lYgomnZCDfZfSqrVhCEN1UsM2em0CPw0DNyuPzHyOH0IQ+fTCiRmGkZDL3aAQUNcQpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoK0Md7U22fn4tsXFc9HO1GlY+J+YOqSvo7SMHL30LOgIhAJTzQTA3nTkVoCcS/+ITmru9o7n0j7UV6P2YqPpdJu0L"}]},"maintainers":[{"name":"gcpantazis","email":"gcpantazis@gmail.com"}],"directories":{}},"0.1.6":{"name":"grunt-crusher","description":"A grunt plugin that will straight-up crush some images.","version":"0.1.6","homepage":"https://github.com/gcpantazis/grunt-crusher","author":{"name":"George Pantazis","email":"gcpantazis@gmail.com"},"repository":{"type":"git","url":"git://github.com/gcpantazis/grunt-crusher.git"},"bugs":{"url":"https://github.com/gcpantazis/grunt-crusher/issues"},"licenses":[{"type":"MIT","url":"https://github.com/gcpantazis/grunt-crusher/blob/master/LICENSE-MIT"}],"main":"grunt.js","engines":{"node":">=0.8.0"},"dependencies":{"grunt":"~0.3.4"},"devDependencies":{},"keywords":["gruntplugin"],"readme":"#grunt-crusher\n\nA grunt plugin that will straight-up crush some images. **Very alpha.**\n\nBy \"very alpha\", I mean that you should be sure you're not pointing it at any images that don't have backups / can't be regenerated easily. For your own safety.\n\nCurrently supports `pngquant` for PNG quantization, `pngout` for trimming excess data out of the files. As part of the task you need to point crusher at the bins, which you'll either need to find or compile in your build env of choice.\n\n##How to use\n\n* Install with: ```npm install grunt-crusher```.\n* Call ```grunt.loadNpmTasks('grunt-crusher')``` in grunt.js\n\n* In your grunt.js config:\n\n\t```\n\tcrusher: {\n\t\ttask-one: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo-*.png',\n\t\t\t],\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: 'path/to/pngquant',\n\t\t\t\tpngout: 'path/to/pngout'\n\t\t\t}\n\t\t},\n\t\ttask-two: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo/*.png',\n\t\t\t\t'/path/to/images/bar/*.png',\n\t\t\t\t'/path/to/images/baz/*.png'\n\t\t\t],\n\t\t\tdestination: IMAGES + '/optimized',\n\t\t\tkeepDirectoryStructure: true,\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: 'path/to/pngquant'\n\t\t\t}\n\t\t}\n\t}\n\t```\n\n##Settings\n\n`imageDirectory` ***required*** : Used to determine relative filepaths, in case you want to preserve the directory structure in the output folder. Files that aren't within this folder will be rejected.\n\n`files` ***required*** : Array of files / wildcards for crusher to iterate through.\n\n`destination` *optional* : If provided, copies files to the destination directory after optimizations are complete. If omitted, replaces original with optimized file.\n\n`keepDirectoryStructure` *optional* : If omitted or set to false, the destination folder will be flat. If set to true, destination folder will contain the original files' folder structure relative to `imageDirectory`.\n\n`crusherTasks` ***required*** : Provide locations to bins that correlate with each of the supported libraries.\n\n##Supported Libraries\n\n`pngquant`\n\n`pngout`\n\n##Changelog\n\nCurrent: v0.1.6\n\nMajor Changes:\n\n* v0.1.6 Add `imageDirectory` and `keepDirectoryStructure` settings.\n* v0.1.4 Make it so that you have to define the bin locations as part of the task; making it platform independant was too tricky here. `dest` -> `destination` in task settings.\n* v0.1.2 Adding `pngout`, start working on how different bins will operate together.\n* v0.1.1 Add optional destination/export directory.\n* v0.1.0 Initial release.\n\n\n## License\nCopyright (c) 2012 George Pantazis\nLicensed under the MIT license.\n","_id":"grunt-crusher@0.1.6","dist":{"shasum":"4b0b46a28289975fd6c5a099e79a5da1185a3557","tarball":"https://registry.npmjs.org/grunt-crusher/-/grunt-crusher-0.1.6.tgz","integrity":"sha512-aJqDKK9jHY6Q543JZ21e5Dz1SRK5ujSkvmQgvhoRZhJflrpItWWZobAL+We3h6pJjqxfgG9NKcmV32mxt5tMgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCff1GSXU9+1QC78n1tkWlz0nT53KZ9y925MSGmS4BKBgIhANLes+6Xjx450kY3AeQNoFj8wpL+itkPCENTciRtTpEg"}]},"maintainers":[{"name":"gcpantazis","email":"gcpantazis@gmail.com"}],"directories":{}},"0.1.7":{"name":"grunt-crusher","description":"A grunt plugin that will straight-up crush some images.","version":"0.1.7","homepage":"https://github.com/gcpantazis/grunt-crusher","author":{"name":"George Pantazis","email":"gcpantazis@gmail.com"},"repository":{"type":"git","url":"git://github.com/gcpantazis/grunt-crusher.git"},"bugs":{"url":"https://github.com/gcpantazis/grunt-crusher/issues"},"licenses":[{"type":"MIT","url":"https://github.com/gcpantazis/grunt-crusher/blob/master/LICENSE-MIT"}],"main":"grunt.js","engines":{"node":">=0.8.0"},"dependencies":{"grunt":"~0.3.4"},"devDependencies":{},"keywords":["gruntplugin"],"readme":"#grunt-crusher\n\nA grunt plugin that will straight-up crush some images. **Very alpha.**\n\nBy \"very alpha\", I mean that you should be sure you're not pointing it at any images that don't have backups / can't be regenerated easily. For your own safety.\n\nCurrently supports `pngquant` for PNG quantization, `pngout` for trimming excess data out of the files. As part of the task you need to point crusher at the bins, which you'll either need to find or compile in your build env of choice.\n\n##How to use\n\n* Install with: ```npm install grunt-crusher```.\n* Call ```grunt.loadNpmTasks('grunt-crusher')``` in grunt.js\n\n* In your grunt.js config:\n\n\t```\n\tcrusher: {\n\t\ttask-one: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo-*.png',\n\t\t\t],\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: 'path/to/pngquant',\n\t\t\t\tpngout: 'path/to/pngout'\n\t\t\t}\n\t\t},\n\t\ttask-two: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo/*.png',\n\t\t\t\t'/path/to/images/bar/*.png',\n\t\t\t\t'/path/to/images/baz/*.png'\n\t\t\t],\n\t\t\tdestination: IMAGES + '/optimized',\n\t\t\tkeepDirectoryStructure: true,\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: 'path/to/pngquant'\n\t\t\t}\n\t\t}\n\t}\n\t```\n\n##Settings\n\n`imageDirectory` ***required*** : Used to determine relative filepaths, in case you want to preserve the directory structure in the output folder. Files that aren't within this folder will be rejected.\n\n`files` ***required*** : Array of files / wildcards for crusher to iterate through.\n\n`destination` *optional* : If provided, copies files to the destination directory after optimizations are complete. If omitted, replaces original with optimized file.\n\n`keepDirectoryStructure` *optional* : If omitted or set to false, the destination folder will be flat. If set to true, destination folder will contain the original files' folder structure relative to `imageDirectory`.\n\n`crusherTasks` ***required*** : Provide locations to bins that correlate with each of the supported libraries.\n\n##Supported Libraries\n\n`pngquant`\n\n`pngout`\n\n##Changelog\n\nCurrent: v0.1.7\n\nMajor Changes:\n\n* v0.1.6 Add `imageDirectory` and `keepDirectoryStructure` settings.\n* v0.1.4 Make it so that you have to define the bin locations as part of the task; making it platform independant was too tricky here. `dest` -> `destination` in task settings.\n* v0.1.2 Adding `pngout`, start working on how different bins will operate together.\n* v0.1.1 Add optional destination/export directory.\n* v0.1.0 Initial release.\n\n\n## License\nCopyright (c) 2012 George Pantazis\nLicensed under the MIT license.\n","_id":"grunt-crusher@0.1.7","dist":{"shasum":"a627206e0d3696abcccf0d9318ff3fea9c864a53","tarball":"https://registry.npmjs.org/grunt-crusher/-/grunt-crusher-0.1.7.tgz","integrity":"sha512-bm9ibgiIdQqVcAHKFZXipgsyAoUxig5tCizqbloIE31gZVpeDXlIstrtV50ylo75IGxeoKhMMTDXDpflVhklaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH4eMBCno1yZ9vC8q5LAkF4sLmkpBfHcwH6/hnMY2ZVhAiEAxWDwAfDPuwpn0fSjjYqt1PIQbHCyctI6tQcEPLanG5Y="}]},"maintainers":[{"name":"gcpantazis","email":"gcpantazis@gmail.com"}],"directories":{}},"0.1.8":{"name":"grunt-crusher","description":"A grunt plugin that will straight-up crush some images.","version":"0.1.8","homepage":"https://github.com/gcpantazis/grunt-crusher","author":{"name":"George Pantazis","email":"gcpantazis@gmail.com"},"repository":{"type":"git","url":"git://github.com/gcpantazis/grunt-crusher.git"},"bugs":{"url":"https://github.com/gcpantazis/grunt-crusher/issues"},"licenses":[{"type":"MIT","url":"https://github.com/gcpantazis/grunt-crusher/blob/master/LICENSE-MIT"}],"main":"grunt.js","engines":{"node":">=0.8.0"},"dependencies":{"grunt":"~0.3.4"},"devDependencies":{},"keywords":["gruntplugin"],"readme":"#grunt-crusher\n\nA grunt plugin that will straight-up crush some images.\n\n##How to use\n\n* Install with: ```npm install grunt-crusher```.\n* Call ```grunt.loadNpmTasks('grunt-crusher')``` in grunt.js\n\n* In your grunt.js config:\n\n\t```\n\tcrusher: {\n\t\ttaskOne: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo-*.png',\n\t\t\t],\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: {\n\t\t\t\t\tbinLocation: './bin/pngquant'\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\ttaskTwo: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo/*.png',\n\t\t\t\t'/path/to/images/bar/*.png',\n\t\t\t\t'/path/to/images/baz/*.png'\n\t\t\t],\n\t\t\tdestination: IMAGES + '/optimized',\n\t\t\tkeepDirectoryStructure: true,\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: {\n\t\t\t\t\tbinLocation: './bin/pngquant'\n\t\t\t\t},\n\t\t\t\tpngout: {\n\t\t\t\t\tbinLocation: './bin/pngout'\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t```\n\n##Settings\n\n`imageDirectory` ***required*** : Used to determine relative filepaths, in case you want to preserve the directory structure in the output folder. Files that aren't within this folder will be rejected.\n\n`files` ***required*** : Array of files / wildcards for crusher to iterate through.\n\n`destination` *optional* : If provided, copies files to the destination directory after optimizations are complete. If omitted, replaces original with optimized file.\n\n`keepDirectoryStructure` *optional* : If omitted or set to false, the destination folder will be flat. If set to true, destination folder will contain the original files' folder structure relative to `imageDirectory`.\n\n`crusherTasks` ***required*** : Configure each bin. (TODO: Add config options in *supported libraries* section once available).\n\n##Supported Libraries\n\n`pngquant`\n\n`pngout`\n\n##Changelog\n\nCurrent: v0.1.8\n\nMajor Changes:\n\n* v0.1.6 Add `imageDirectory` and `keepDirectoryStructure` settings.\n* v0.1.4 Make it so that you have to define the bin locations as part of the task; making it platform independant was too tricky here. `dest` -> `destination` in task settings.\n* v0.1.2 Adding `pngout`, start working on how different bins will operate together.\n* v0.1.1 Add optional destination/export directory.\n* v0.1.0 Initial release.\n\n\n## License\nCopyright (c) 2012 George Pantazis\nLicensed under the MIT license.\n","_id":"grunt-crusher@0.1.8","dist":{"shasum":"f23237e8361864700e3e422343ee6a8bdd710a01","tarball":"https://registry.npmjs.org/grunt-crusher/-/grunt-crusher-0.1.8.tgz","integrity":"sha512-tF+77Jj2O8dEeEKc0J/I/6WnW4vJsjCUszii3mvL3Sshj946KEH2DZZ+45SXDIzT0dJRr3Jrc1gnVoOX37ZItA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFOFXR+zSeixmsLwzweY/PZx2Nko73GyZHCykIzp++wBAiAkk4YOvyPAqtAPXkxtKrm0vYhcT6gMmP22nJeu5AibQg=="}]},"maintainers":[{"name":"gcpantazis","email":"gcpantazis@gmail.com"}],"directories":{}},"0.1.9":{"name":"grunt-crusher","description":"A grunt plugin that will straight-up crush some images.","version":"0.1.9","homepage":"https://github.com/gcpantazis/grunt-crusher","author":{"name":"George Pantazis","email":"gcpantazis@gmail.com"},"repository":{"type":"git","url":"git://github.com/gcpantazis/grunt-crusher.git"},"bugs":{"url":"https://github.com/gcpantazis/grunt-crusher/issues"},"licenses":[{"type":"MIT","url":"https://github.com/gcpantazis/grunt-crusher/blob/master/LICENSE-MIT"}],"main":"grunt.js","engines":{"node":">=0.8.0"},"dependencies":{"grunt":"~0.3.4"},"devDependencies":{},"keywords":["gruntplugin"],"readme":"#grunt-crusher\n\nA grunt plugin that will straight-up crush some images.\n\n##How to use\n\n* Install with: ```npm install grunt-crusher```.\n* Call ```grunt.loadNpmTasks('grunt-crusher')``` in grunt.js\n\n* In your grunt.js config:\n\n\t```\n\tcrusher: {\n\t\ttaskOne: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo-*.png',\n\t\t\t],\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: {\n\t\t\t\t\tbinLocation: './bin/pngquant'\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\ttaskTwo: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo/*.png',\n\t\t\t\t'/path/to/images/bar/*.png',\n\t\t\t\t'/path/to/images/baz/*.png'\n\t\t\t],\n\t\t\tdestination: IMAGES + '/optimized',\n\t\t\tkeepDirectoryStructure: true,\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: {\n\t\t\t\t\tbinLocation: './bin/pngquant'\n\t\t\t\t},\n\t\t\t\tpngout: {\n\t\t\t\t\tbinLocation: './bin/pngout'\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t```\n\n##Settings\n\n`imageDirectory` ***required*** : Used to determine relative filepaths, in case you want to preserve the directory structure in the output folder. Files that aren't within this folder will be rejected.\n\n`files` ***required*** : Array of files / wildcards for crusher to iterate through.\n\n`destination` *optional* : If provided, copies files to the destination directory after optimizations are complete. If omitted, replaces original with optimized file.\n\n`keepDirectoryStructure` *optional* : If omitted or set to false, the destination folder will be flat. If set to true, destination folder will contain the original files' folder structure relative to `imageDirectory`.\n\n`crusherTasks` ***required*** : Configure each bin. (TODO: Add config options in *supported libraries* section once available).\n\n##Supported Libraries\n\n`pngquant`\n\n`pngout`\n\n##Changelog\n\nCurrent: v0.1.9\n\nMajor Changes:\n\n* v0.1.9 Added tests, some refactoring on logging.\n* v0.1.6 Add `imageDirectory` and `keepDirectoryStructure` settings.\n* v0.1.4 Make it so that you have to define the bin locations as part of the task; making it platform independant was too tricky here. `dest` -> `destination` in task settings.\n* v0.1.2 Adding `pngout`, start working on how different bins will operate together.\n* v0.1.1 Add optional destination/export directory.\n* v0.1.0 Initial release.\n\n\n## License\nCopyright (c) 2012 George Pantazis\nLicensed under the MIT license.\n","_id":"grunt-crusher@0.1.9","dist":{"shasum":"c7ed37c7b3a0ddf6736510ccd99dd0dfe5de411b","tarball":"https://registry.npmjs.org/grunt-crusher/-/grunt-crusher-0.1.9.tgz","integrity":"sha512-QBD5m4IzoT4cOhSOmCDT1ZL9GGMuq5pTgPaP5Ycg3CKcXTBnk4+G2MVseLqdNo+NgkMb8bHpXwRFemwY4ywf1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDF8klSLG1O8yyDEBgKGEwZQHgMNWedflQBObZRh6nK7QIhAOsazK7IaxcgD4HXPqdnefC50Nwxz3uyWLtg+SrzITq6"}]},"maintainers":[{"name":"gcpantazis","email":"gcpantazis@gmail.com"}],"directories":{}},"0.1.10":{"name":"grunt-crusher","description":"A grunt plugin that will straight-up crush some images.","version":"0.1.10","homepage":"https://github.com/gcpantazis/grunt-crusher","author":{"name":"George Pantazis","email":"gcpantazis@gmail.com"},"repository":{"type":"git","url":"git://github.com/gcpantazis/grunt-crusher.git"},"bugs":{"url":"https://github.com/gcpantazis/grunt-crusher/issues"},"licenses":[{"type":"MIT","url":"https://github.com/gcpantazis/grunt-crusher/blob/master/LICENSE-MIT"}],"main":"grunt.js","engines":{"node":">=0.8.0"},"dependencies":{"grunt":"~0.3.4","underscore":">=1.3.0"},"devDependencies":{},"keywords":["gruntplugin"],"readme":"#grunt-crusher\n\nA grunt plugin that will straight-up crush some images.\n\n##How to use\n\n* Install with: ```npm install grunt-crusher```.\n* Call ```grunt.loadNpmTasks('grunt-crusher')``` in grunt.js\n\n* In your grunt.js config:\n\n\t```\n\tcrusher: {\n\t\ttaskOne: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo-*.png',\n\t\t\t],\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: {\n\t\t\t\t\tbinLocation: './bin/pngquant'\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\ttaskTwo: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo/*.png',\n\t\t\t\t'/path/to/images/bar/*.png',\n\t\t\t\t'/path/to/images/baz/*.png'\n\t\t\t],\n\t\t\tdestination: IMAGES + '/optimized',\n\t\t\tkeepDirectoryStructure: true,\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: {\n\t\t\t\t\tbinLocation: './bin/pngquant'\n\t\t\t\t},\n\t\t\t\tpngout: {\n\t\t\t\t\tbinLocation: './bin/pngout'\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t```\n\n##Settings\n\n`imageDirectory` ***required*** : Used to determine relative filepaths, in case you want to preserve the directory structure in the output folder. Files that aren't within this folder will be rejected.\n\n`files` ***required*** : Array of files / wildcards for crusher to iterate through.\n\n`destination` *optional* : If provided, copies files to the destination directory after optimizations are complete. If omitted, replaces original with optimized file.\n\n`keepDirectoryStructure` *optional* : If omitted or set to false, the destination folder will be flat. If set to true, destination folder will contain the original files' folder structure relative to `imageDirectory`.\n\n`crusherTasks` ***required*** : Configure each bin. (TODO: Add config options in *supported libraries* section once available).\n\n##Supported Libraries\n\n`pngquant`\n\n`pngout`\n\n`convert` : Experimental; I have it configured with a global install that I compile per-machine, which seems to be the way to go with imagemagick. See the tests for usage.\n\n##Changelog\n\nCurrent: v0.1.10\n\nMajor Changes:\n\n* v0.1.10 Added experimental support for `convert`, initially for resize.\n* v0.1.9 Added tests, some refactoring on logging.\n* v0.1.6 Add `imageDirectory` and `keepDirectoryStructure` settings.\n* v0.1.4 Make it so that you have to define the bin locations as part of the task; making it platform independant was too tricky here. `dest` -> `destination` in task settings.\n* v0.1.2 Adding `pngout`, start working on how different bins will operate together.\n* v0.1.1 Add optional destination/export directory.\n* v0.1.0 Initial release.\n\n\n## License\nCopyright (c) 2012 George Pantazis\nLicensed under the MIT license.\n","_id":"grunt-crusher@0.1.10","dist":{"shasum":"438a54bd4b00cdace5361c6a4e54598dd0f553e2","tarball":"https://registry.npmjs.org/grunt-crusher/-/grunt-crusher-0.1.10.tgz","integrity":"sha512-iVrf80YR6fYhgKNhTFxGmpSOe/1AvvD9bH63iiczetXmqNawwmBczpsxY6JqbIAG05lMSgCLzioL1o/XN2npLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIClkbx43xhMIz4q6e5E3fHQTfP0YvMmUgMgvHHgi3I3ZAiA2ct6uAkUif1V2imurw5YVoOlfDfW9GLe+OMtcm/PhvQ=="}]},"maintainers":[{"name":"gcpantazis","email":"gcpantazis@gmail.com"}],"directories":{}},"0.1.11":{"name":"grunt-crusher","description":"A grunt plugin that will straight-up crush some images.","version":"0.1.11","homepage":"https://github.com/gcpantazis/grunt-crusher","author":{"name":"George Pantazis","email":"gcpantazis@gmail.com"},"repository":{"type":"git","url":"git://github.com/gcpantazis/grunt-crusher.git"},"bugs":{"url":"https://github.com/gcpantazis/grunt-crusher/issues"},"licenses":[{"type":"MIT","url":"https://github.com/gcpantazis/grunt-crusher/blob/master/LICENSE-MIT"}],"main":"grunt.js","engines":{"node":">=0.8.0"},"dependencies":{"grunt":"~0.3.4","underscore":">=1.3.0"},"devDependencies":{},"keywords":["gruntplugin"],"readme":"#grunt-crusher\n\nA grunt plugin that will straight-up crush some images.\n\n##How to use\n\n* Install with: ```npm install grunt-crusher```.\n* Call ```grunt.loadNpmTasks('grunt-crusher')``` in grunt.js\n\n* In your grunt.js config:\n\n\t```\n\tcrusher: {\n\t\ttaskOne: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo-*.png',\n\t\t\t],\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: {\n\t\t\t\t\tbinLocation: './bin/pngquant'\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\ttaskTwo: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo/*.png',\n\t\t\t\t'/path/to/images/bar/*.png',\n\t\t\t\t'/path/to/images/baz/*.png'\n\t\t\t],\n\t\t\tdestination: IMAGES + '/optimized',\n\t\t\tkeepDirectoryStructure: true,\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: {\n\t\t\t\t\tbinLocation: './bin/pngquant'\n\t\t\t\t},\n\t\t\t\tpngout: {\n\t\t\t\t\tbinLocation: './bin/pngout'\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t```\n\n##Settings\n\n`imageDirectory` ***required*** : Used to determine relative filepaths, in case you want to preserve the directory structure in the output folder. Files that aren't within this folder will be rejected.\n\n`files` ***required*** : Array of files / wildcards for crusher to iterate through.\n\n`destination` *optional* : If provided, copies files to the destination directory after optimizations are complete. If omitted, replaces original with optimized file.\n\n`keepDirectoryStructure` *optional* : If omitted or set to false, the destination folder will be flat. If set to true, destination folder will contain the original files' folder structure relative to `imageDirectory`.\n\n`crusherTasks` ***required*** : Configure each bin. (TODO: Add config options in *supported libraries* section once available).\n\n##Supported Libraries\n\n`pngquant`\n\n`pngout`\n\n`convert` : Experimental; I have it configured with a global install that I compile per-machine, which seems to be the way to go with imagemagick. See the tests for usage.\n\n##Changelog\n\nCurrent: v0.1.11\n\nMajor Changes:\n\n* v0.1.10 Added experimental support for `convert`, initially for resize.\n* v0.1.9 Added tests, some refactoring on logging.\n* v0.1.6 Add `imageDirectory` and `keepDirectoryStructure` settings.\n* v0.1.4 Make it so that you have to define the bin locations as part of the task; making it platform independant was too tricky here. `dest` -> `destination` in task settings.\n* v0.1.2 Adding `pngout`, start working on how different bins will operate together.\n* v0.1.1 Add optional destination/export directory.\n* v0.1.0 Initial release.\n\n\n## License\nCopyright (c) 2012 George Pantazis\nLicensed under the MIT license.\n","_id":"grunt-crusher@0.1.11","dist":{"shasum":"73225f566956446bc9e7bfd0b054c2f6af6e073d","tarball":"https://registry.npmjs.org/grunt-crusher/-/grunt-crusher-0.1.11.tgz","integrity":"sha512-Et8dSY0BkWBX2WINUdA1SVp+FGEIGxW29m2fm5Y82FBZQHShUQTo08ob4rlEIM5j4NmqSK37C8puLsBSJDKbAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDh68m+JGtpg4OveyE/2POREOCjaO0ZaMr7fJj4nPtX2AiEA//M/o+0ZvWZ2T1jzEcTMhubTS7JK0sWz5jjqXsuqdH8="}]},"maintainers":[{"name":"gcpantazis","email":"gcpantazis@gmail.com"}],"directories":{}},"0.1.12":{"name":"grunt-crusher","description":"A grunt plugin that will straight-up crush some images.","version":"0.1.12","homepage":"https://github.com/gcpantazis/grunt-crusher","author":{"name":"George Pantazis","email":"gcpantazis@gmail.com"},"repository":{"type":"git","url":"git://github.com/gcpantazis/grunt-crusher.git"},"bugs":{"url":"https://github.com/gcpantazis/grunt-crusher/issues"},"licenses":[{"type":"MIT","url":"https://github.com/gcpantazis/grunt-crusher/blob/master/LICENSE-MIT"}],"main":"grunt.js","engines":{"node":">=0.8.0"},"dependencies":{"grunt":"~0.3.4","underscore":">=1.3.0"},"devDependencies":{},"keywords":["gruntplugin"],"readme":"#grunt-crusher\n\nA grunt plugin that will straight-up crush some images.\n\n##How to use\n\n* Install with: ```npm install grunt-crusher```.\n* Call ```grunt.loadNpmTasks('grunt-crusher')``` in grunt.js\n\n* In your grunt.js config:\n\n\t```\n\tcrusher: {\n\t\ttaskOne: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo-*.png',\n\t\t\t],\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: {\n\t\t\t\t\tbinLocation: './bin/pngquant'\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\ttaskTwo: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo/*.png',\n\t\t\t\t'/path/to/images/bar/*.png',\n\t\t\t\t'/path/to/images/baz/*.png'\n\t\t\t],\n\t\t\tdestination: IMAGES + '/optimized',\n\t\t\tkeepDirectoryStructure: true,\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: {\n\t\t\t\t\tbinLocation: './bin/pngquant'\n\t\t\t\t},\n\t\t\t\tpngout: {\n\t\t\t\t\tbinLocation: './bin/pngout'\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t```\n\n##Settings\n\n`imageDirectory` ***required*** : Used to determine relative filepaths, in case you want to preserve the directory structure in the output folder. Files that aren't within this folder will be rejected.\n\n`files` ***required*** : Array of files / wildcards for crusher to iterate through.\n\n`destination` *optional* : If provided, copies files to the destination directory after optimizations are complete. If omitted, replaces original with optimized file.\n\n`outputSuffix` *optional* : Use to add a suffix onto output filenames (someimage.jpg -> someimage_foo.jpg). Requires `destination`.\n\n`keepDirectoryStructure` *optional* : If omitted or set to false, the destination folder will be flat. If set to true, destination folder will contain the original files' folder structure relative to `imageDirectory`.\n\n`crusherTasks` ***required*** : Configure each bin. (TODO: Add config options in *supported libraries* section once available).\n\n##Supported Libraries\n\n`pngquant`\n\n`pngout`\n\n`convert` : Experimental; I have it configured with a global install that I compile per-machine, which seems to be the way to go with imagemagick. See the tests for usage.\n\n##Changelog\n\nCurrent: v0.1.12\n\nMajor Changes:\n\n* v0.1.12 Added `outputSuffix`.\n* v0.1.10 Added experimental support for `convert`, initially for resize.\n* v0.1.9 Added tests, some refactoring on logging.\n* v0.1.6 Add `imageDirectory` and `keepDirectoryStructure` settings.\n* v0.1.4 Make it so that you have to define the bin locations as part of the task; making it platform independant was too tricky here. `dest` -> `destination` in task settings.\n* v0.1.2 Adding `pngout`, start working on how different bins will operate together.\n* v0.1.1 Add optional destination/export directory.\n* v0.1.0 Initial release.\n\n\n## License\nCopyright (c) 2012 George Pantazis\nLicensed under the MIT license.\n","_id":"grunt-crusher@0.1.12","dist":{"shasum":"e794df10bd5d4e6b2c74d5333da526ba95ad8dd9","tarball":"https://registry.npmjs.org/grunt-crusher/-/grunt-crusher-0.1.12.tgz","integrity":"sha512-g5wimbOU9M9ui/Unq/An93brJ+C3L/cqz4pouMnC9jDw8Hs7+tRuOmtRwCxzSP8CltmYV4ipk6l7xETsdtp5lQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBvsE4e9rBLiPw+jIej71324/H+j3oStVNnem1E4FwsiAiAo7xMhOCQDFIliMXrnG2jPbn+R9RpG2XJ/e/viJ/Md9A=="}]},"maintainers":[{"name":"gcpantazis","email":"gcpantazis@gmail.com"}],"directories":{}},"0.1.13":{"name":"grunt-crusher","description":"A grunt plugin that will straight-up crush some images.","version":"0.1.13","homepage":"https://github.com/gcpantazis/grunt-crusher","author":{"name":"George Pantazis","email":"gcpantazis@gmail.com"},"repository":{"type":"git","url":"git://github.com/gcpantazis/grunt-crusher.git"},"bugs":{"url":"https://github.com/gcpantazis/grunt-crusher/issues"},"licenses":[{"type":"MIT","url":"https://github.com/gcpantazis/grunt-crusher/blob/master/LICENSE-MIT"}],"main":"grunt.js","engines":{"node":">=0.8.0"},"dependencies":{"grunt":"~0.3.4","underscore":">=1.3.0"},"devDependencies":{},"keywords":["gruntplugin"],"readme":"#grunt-crusher\n\nA grunt plugin for processing images.\n\n##How to use\n\n* Install with: ```npm install grunt-crusher```.\n* Call ```grunt.loadNpmTasks('grunt-crusher')``` in grunt.js\n\n* In your grunt.js config:\n\n\t```\n\tcrusher: {\n\t\ttaskOne: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo-*.png',\n\t\t\t],\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: {\n\t\t\t\t\tbinLocation: './bin/pngquant'\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\ttaskTwo: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo/*.png',\n\t\t\t\t'/path/to/images/bar/*.png',\n\t\t\t\t'/path/to/images/baz/*.png'\n\t\t\t],\n\t\t\tdestination: IMAGES + '/optimized',\n\t\t\tkeepDirectoryStructure: true,\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: {\n\t\t\t\t\tbinLocation: './bin/pngquant'\n\t\t\t\t},\n\t\t\t\tpngout: {\n\t\t\t\t\tbinLocation: './bin/pngout'\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t```\n\n##Settings\n\n`imageDirectory` ***required*** : Used to determine relative filepaths, in case you want to preserve the directory structure in the output folder. Files that aren't within this folder will be rejected.\n\n`files` ***required*** : Array of files / wildcards for crusher to iterate through.\n\n`destination` *optional* : If provided, copies files to the destination directory after optimizations are complete. If omitted, replaces original with optimized file.\n\n`outputSuffix` *optional* : Use to add a suffix onto output filenames (someimage.jpg -> someimage_foo.jpg). Requires `destination`.\n\n`keepDirectoryStructure` *optional* : If omitted or set to false, the destination folder will be flat. If set to true, destination folder will contain the original files' folder structure relative to `imageDirectory`.\n\n`crusherTasks` ***required*** : Configure each bin. (TODO: Add config options in *supported libraries* section once available).\n\n##Supported Libraries\n\n`pngquant`\n\n`pngout`\n\n`convert` : Experimental; I have it configured with a global install that I compile per-machine, which seems to be the way to go with imagemagick. See the tests for usage.\n\n##Changelog\n\nCurrent: v0.1.13\n\nMajor Changes:\n\n* v0.1.12 Added `outputSuffix`.\n* v0.1.10 Added experimental support for `convert`, initially for resize.\n* v0.1.9 Added tests, some refactoring on logging.\n* v0.1.6 Add `imageDirectory` and `keepDirectoryStructure` settings.\n* v0.1.4 Make it so that you have to define the bin locations as part of the task; making it platform independant was too tricky here. `dest` -> `destination` in task settings.\n* v0.1.2 Adding `pngout`, start working on how different bins will operate together.\n* v0.1.1 Add optional destination/export directory.\n* v0.1.0 Initial release.\n\n## License\nCopyright (c) 2012 George Pantazis\nLicensed under the MIT license.\n","_id":"grunt-crusher@0.1.13","dist":{"shasum":"d01e292f40745bc35f7dd40fb8358a2270dceaeb","tarball":"https://registry.npmjs.org/grunt-crusher/-/grunt-crusher-0.1.13.tgz","integrity":"sha512-Md5/Ywh+V9/qvVic1JHQafzNcjtw+vpn3iitPlFlCZiQ5EabkYHApsHrSMTlsfFIRLtHrK3z4vt603KoMKS3iw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIElDTxMbbFDKnWfHGZoL5xq1k5s4oO+ZPMGw+eA4APpLAiEAoHdCd9tdYyyrwYCuj9irBlsXGYNlwT5q99mWM0d7FUs="}]},"maintainers":[{"name":"gcpantazis","email":"gcpantazis@gmail.com"}],"directories":{}},"0.1.14":{"name":"grunt-crusher","description":"A grunt plugin that will straight-up crush some images.","version":"0.1.14","homepage":"https://github.com/gcpantazis/grunt-crusher","author":{"name":"George Pantazis","email":"gcpantazis@gmail.com"},"repository":{"type":"git","url":"git://github.com/gcpantazis/grunt-crusher.git"},"bugs":{"url":"https://github.com/gcpantazis/grunt-crusher/issues"},"licenses":[{"type":"MIT","url":"https://github.com/gcpantazis/grunt-crusher/blob/master/LICENSE-MIT"}],"main":"grunt.js","engines":{"node":">=0.8.0"},"dependencies":{"underscore":">=1.3.0"},"devDependencies":{},"keywords":["gruntplugin"],"readme":"#grunt-crusher\n\nA grunt plugin for processing images.\n\n##How to use\n\n* Install with: ```npm install grunt-crusher```.\n* Call ```grunt.loadNpmTasks('grunt-crusher')``` in grunt.js\n\n* In your grunt.js config:\n\n\t```\n\tcrusher: {\n\t\ttaskOne: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo-*.png',\n\t\t\t],\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: {\n\t\t\t\t\tbinLocation: './bin/pngquant'\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\ttaskTwo: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo/*.png',\n\t\t\t\t'/path/to/images/bar/*.png',\n\t\t\t\t'/path/to/images/baz/*.png'\n\t\t\t],\n\t\t\tdestination: IMAGES + '/optimized',\n\t\t\tkeepDirectoryStructure: true,\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: {\n\t\t\t\t\tbinLocation: './bin/pngquant'\n\t\t\t\t},\n\t\t\t\tpngout: {\n\t\t\t\t\tbinLocation: './bin/pngout'\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t```\n\n##Settings\n\n`imageDirectory` ***required*** : Used to determine relative filepaths, in case you want to preserve the directory structure in the output folder. Files that aren't within this folder will be rejected.\n\n`files` ***required*** : Array of files / wildcards for crusher to iterate through.\n\n`destination` *optional* : If provided, copies files to the destination directory after optimizations are complete. If omitted, replaces original with optimized file.\n\n`outputSuffix` *optional* : Use to add a suffix onto output filenames (someimage.jpg -> someimage_foo.jpg). Requires `destination`.\n\n`keepDirectoryStructure` *optional* : If omitted or set to false, the destination folder will be flat. If set to true, destination folder will contain the original files' folder structure relative to `imageDirectory`.\n\n`crusherTasks` ***required*** : Configure each bin. (TODO: Add config options in *supported libraries* section once available).\n\n##Supported Libraries\n\n`pngquant`\n\n`pngout`\n\n`convert` : Experimental; I have it configured with a global install that I compile per-machine, which seems to be the way to go with imagemagick. See the tests for usage.\n\n##Changelog\n\nCurrent: v0.1.14\n\nMajor Changes:\n\n* v0.1.12 Added `outputSuffix`.\n* v0.1.10 Added experimental support for `convert`, initially for resize.\n* v0.1.9 Added tests, some refactoring on logging.\n* v0.1.6 Add `imageDirectory` and `keepDirectoryStructure` settings.\n* v0.1.4 Make it so that you have to define the bin locations as part of the task; making it platform independant was too tricky here. `dest` -> `destination` in task settings.\n* v0.1.2 Adding `pngout`, start working on how different bins will operate together.\n* v0.1.1 Add optional destination/export directory.\n* v0.1.0 Initial release.\n\n## License\nCopyright (c) 2012 George Pantazis\nLicensed under the MIT license.\n","_id":"grunt-crusher@0.1.14","dist":{"shasum":"521361731b00df6f891857b94f7faff8c0033f07","tarball":"https://registry.npmjs.org/grunt-crusher/-/grunt-crusher-0.1.14.tgz","integrity":"sha512-d/0XpxRg6Jz4L3tcsyTCI4lyJoErahLhfI4PCXqXyYtLBuTJxeSCbWErbeOqobFWU15wbuyPViB9bGxM2eOXNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEpTAssGtmTbyJEJ2yabvdJ5ENHeuk8d3vuUju1NhLmiAiEAijnEUYIpBkKsOXCpZ/3NThKFmyhjtE2zBNx/Q5OVObU="}]},"maintainers":[{"name":"gcpantazis","email":"gcpantazis@gmail.com"}],"directories":{}},"0.1.15":{"name":"grunt-crusher","description":"A grunt plugin that will straight-up crush some images.","version":"0.1.15","homepage":"https://github.com/gcpantazis/grunt-crusher","author":{"name":"George Pantazis","email":"gcpantazis@gmail.com"},"repository":{"type":"git","url":"git://github.com/gcpantazis/grunt-crusher.git"},"bugs":{"url":"https://github.com/gcpantazis/grunt-crusher/issues"},"licenses":[{"type":"MIT","url":"https://github.com/gcpantazis/grunt-crusher/blob/master/LICENSE-MIT"}],"main":"grunt.js","engines":{"node":">=0.8.0"},"dependencies":{"grunt":">=0.4.0","underscore":">=1.3.0"},"devDependencies":{},"keywords":["gruntplugin"],"readme":"#grunt-crusher\n\nA grunt plugin for processing images.\n\n##How to use\n\n* Install with: ```npm install grunt-crusher```.\n* Call ```grunt.loadNpmTasks('grunt-crusher')``` in grunt.js\n\n* In your grunt.js config:\n\n\t```\n\tcrusher: {\n\t\ttaskOne: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo-*.png',\n\t\t\t],\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: {\n\t\t\t\t\tbinLocation: './bin/pngquant'\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\ttaskTwo: {\n\t\t\timageDirectory: '/path/to/images/',\n\t\t\tfiles: [\n\t\t\t\t'/path/to/images/foo/*.png',\n\t\t\t\t'/path/to/images/bar/*.png',\n\t\t\t\t'/path/to/images/baz/*.png'\n\t\t\t],\n\t\t\tdestination: IMAGES + '/optimized',\n\t\t\tkeepDirectoryStructure: true,\n\t\t\tcrusherTasks: {\n\t\t\t\tpngquant: {\n\t\t\t\t\tbinLocation: './bin/pngquant'\n\t\t\t\t},\n\t\t\t\tpngout: {\n\t\t\t\t\tbinLocation: './bin/pngout'\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t```\n\n##Settings\n\n`imageDirectory` ***required*** : Used to determine relative filepaths, in case you want to preserve the directory structure in the output folder. Files that aren't within this folder will be rejected.\n\n`files` ***required*** : Array of files / wildcards for crusher to iterate through.\n\n`destination` *optional* : If provided, copies files to the destination directory after optimizations are complete. If omitted, replaces original with optimized file.\n\n`outputSuffix` *optional* : Use to add a suffix onto output filenames (someimage.jpg -> someimage_foo.jpg). Requires `destination`.\n\n`keepDirectoryStructure` *optional* : If omitted or set to false, the destination folder will be flat. If set to true, destination folder will contain the original files' folder structure relative to `imageDirectory`.\n\n`crusherTasks` ***required*** : Configure each bin. (TODO: Add config options in *supported libraries* section once available).\n\n##Supported Libraries\n\n`pngquant`\n\n`pngout`\n\n`convert` : Experimental; I have it configured with a global install that I compile per-machine, which seems to be the way to go with imagemagick. See the tests for usage.\n\n##Changelog\n\nCurrent: v0.1.15\n\nMajor Changes:\n\n* v0.1.15 Upgrade for Grunt 0.4 compatibility.\n* v0.1.12 Added `outputSuffix`.\n* v0.1.10 Added experimental support for `convert`, initially for resize.\n* v0.1.9 Added tests, some refactoring on logging.\n* v0.1.6 Add `imageDirectory` and `keepDirectoryStructure` settings.\n* v0.1.4 Make it so that you have to define the bin locations as part of the task; making it platform independant was too tricky here. `dest` -> `destination` in task settings.\n* v0.1.2 Adding `pngout`, start working on how different bins will operate together.\n* v0.1.1 Add optional destination/export directory.\n* v0.1.0 Initial release.\n\n## License\nCopyright (c) 2012 George Pantazis\nLicensed under the MIT license.\n","readmeFilename":"README.md","_id":"grunt-crusher@0.1.15","dist":{"shasum":"7e5079afbe873771a73e907862b56cb8d756307f","tarball":"https://registry.npmjs.org/grunt-crusher/-/grunt-crusher-0.1.15.tgz","integrity":"sha512-7UJ6E2URXge0CAdqSbkdZmDRO/AhBz4MMKGp4NojnrWkbuOrm/NeXLAwPf3fIvcmUWYm5ZjbfARvnYBJHhZH8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDc07WVOovz2S0uoc00FgLdnKfzGJzX8DPFrWbYOSrnMwIgYWlMmnCEy8dmCWSPsVBeFkYg5T5MQY5GYwqVspUkJ7E="}]},"_from":".","_npmVersion":"1.2.1","_npmUser":{"name":"gcpantazis","email":"gcpantazis@gmail.com"},"maintainers":[{"name":"gcpantazis","email":"gcpantazis@gmail.com"}],"directories":{}}},"readme":"# grunt-crusher\n\nA grunt plugin that will straight-up crush some images.\n\nRight now I've only added 24-bit > 8-bit crushing. Goal is to integrate all the different smashers/smushers/crunchers that you could possibly need for all image types.\n\n##How to use\n\n* Install with: ```npm install grunt-crusher```.\n* Call ```grunt.loadNpmTasks('grunt-crusher')``` in grunt.js\n\n* In your grunt.js config:\n\n\t```\n\tcrusher: {\n\t\tapp: {\n\t\t\tfiles: [\n\t\t\t\t'/some-image.png',\n\t\t\t\t'/other/images/**/*.png'\n\t\t\t],\n\t\t\teightbit: true\n\t\t}\n\t}\n\t```\n\n##Changelog\n\n* v0.1.0 Initial release.\n\n\n## License\nCopyright (c) 2012 George Pantazis\nLicensed under the MIT license.\n","maintainers":[{"name":"gcpantazis","email":"gcpantazis@gmail.com"}],"time":{"modified":"2022-06-18T14:46:40.431Z","created":"2012-07-04T06:44:54.823Z","0.1.0":"2012-07-04T06:44:55.923Z","0.1.1":"2012-07-04T18:31:54.109Z","0.1.2":"2012-07-09T02:43:29.858Z","0.1.3":"2012-07-09T20:55:36.611Z","0.1.4":"2012-08-08T18:11:07.158Z","0.1.5":"2012-08-18T02:54:22.306Z","0.1.6":"2012-08-18T03:49:22.927Z","0.1.7":"2012-08-18T04:10:31.261Z","0.1.8":"2012-08-24T00:46:37.185Z","0.1.9":"2012-08-30T20:28:06.615Z","0.1.10":"2012-08-31T00:18:10.223Z","0.1.11":"2012-08-31T00:20:16.400Z","0.1.12":"2012-09-04T21:02:28.989Z","0.1.13":"2012-09-04T23:26:13.843Z","0.1.14":"2012-09-10T16:44:48.854Z","0.1.15":"2013-03-06T08:36:24.970Z","0.1.16":"2013-04-04T01:06:16.012Z"},"author":{"name":"George Pantazis","email":"gcpantazis@gmail.com"},"repository":{"type":"git","url":"git://github.com/gcpantazis/grunt-crusher.git"}}