{"_id":"grunt-unretina","_rev":"32-849e4c0f98002f93436361103142a491","name":"grunt-unretina","description":"Scales @2x images down to standard resolution","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"grunt-unretina","description":"Scales @2x images down to standard resolution","version":"0.1.0","homepage":"https://github.com/ramonfritsch/grunt-unretina","author":{"name":"Ramon Fritsch","email":"ramonfritsch@gmail.com","url":"http://www.cargocollective.com/ramon/"},"repository":{"type":"git","url":"git://github.com/ramonfritsch/grunt-unretina.git"},"bugs":{"url":"https://github.com/ramonfritsch/grunt-unretina/issues"},"licenses":[{"type":"MIT","url":"https://github.com/ramonfritsch/grunt-unretina/blob/master/LICENSE-MIT"}],"engines":{"node":">=0.10.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.6.0","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.4","async":"~0.2.10","mkdirp":"~0.3.5","time-grunt":"~0.3.1"},"peerDependencies":{"grunt":"~0.4.4"},"keywords":["unretina","retina","resize","resolution"],"dependencies":{"async":"~0.2.10","mkdirp":"~0.3.5","gm":"~1.14.2"},"_id":"grunt-unretina@0.1.0","dist":{"shasum":"28d81817c7564cf1dfd28dabd4b5d8e431ec341e","tarball":"https://registry.npmjs.org/grunt-unretina/-/grunt-unretina-0.1.0.tgz","integrity":"sha512-HNEWMcWK3/ZM2wCTzAlfIg7smcZ9pWCLAGgvsMQwK5tqig4h1X0bFXbTXk47gVWlt0Wd50YWhWZ4gmH3uZw/hQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFe3Q5DJXDYtSYq7oWNig3FY66gmD+cz4qCVZX6c/rnrAiEApw6t/j1xui59DL2bcEnvcEUVrRlJHcT+H4LvMvCmkhY="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"ramonfritsch","email":"ramonfritsch@gmail.com"},"maintainers":[{"name":"ramonfritsch","email":"ramonfritsch@gmail.com"}]},"0.1.1":{"name":"grunt-unretina","description":"Scales @2x images down to standard resolution","version":"0.1.1","homepage":"https://github.com/ramonfritsch/grunt-unretina","author":{"name":"Ramon Fritsch","email":"ramonfritsch@gmail.com","url":"http://www.cargocollective.com/ramon/"},"repository":{"type":"git","url":"git://github.com/ramonfritsch/grunt-unretina.git"},"bugs":{"url":"https://github.com/ramonfritsch/grunt-unretina/issues"},"licenses":[{"type":"MIT","url":"https://github.com/ramonfritsch/grunt-unretina/blob/master/LICENSE-MIT"}],"engines":{"node":">=0.10.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"^0.6.0","grunt-contrib-clean":"^0.4.0","grunt-contrib-nodeunit":"^0.2.0","grunt":"^0.4.4","time-grunt":"^0.3.1"},"peerDependencies":{"grunt":"^0.4.0"},"keywords":["unretina","retina","resize","resolution"],"dependencies":{"async":"^0.2.10","mkdirp":"^0.3.5","gm":"^1.14.2"},"_id":"grunt-unretina@0.1.1","dist":{"shasum":"095d5264b8e2542293f7cf5dee7949e2b8dfac13","tarball":"https://registry.npmjs.org/grunt-unretina/-/grunt-unretina-0.1.1.tgz","integrity":"sha512-LnKEhVF3NNXWQFCcyc3X/0ZCuhPOYXPpXad2V/J6Fcj7Ya2xW79vCzXsphlrspEJwk8dHpO+5AarQTpHw6C43Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDy+sSMWQ1+jWX90P0w9u6g+QLVShDxr8z7ttGY7otngAiEAtEEZQldHm0AoahT/cQG3gfboXdfAmqr20+JH7vtX+8k="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"ramonfritsch","email":"ramonfritsch@gmail.com"},"maintainers":[{"name":"ramonfritsch","email":"ramonfritsch@gmail.com"}]},"0.1.2":{"name":"grunt-unretina","description":"Scales @2x images down to standard resolution","version":"0.1.2","homepage":"https://github.com/ramonfritsch/grunt-unretina","author":{"name":"Ramon Fritsch","email":"ramonfritsch@gmail.com","url":"http://www.cargocollective.com/ramon/"},"repository":{"type":"git","url":"git://github.com/ramonfritsch/grunt-unretina.git"},"bugs":{"url":"https://github.com/ramonfritsch/grunt-unretina/issues"},"licenses":[{"type":"MIT","url":"https://github.com/ramonfritsch/grunt-unretina/blob/master/LICENSE-MIT"}],"engines":{"node":">=0.10.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"^0.6.0","grunt-contrib-clean":"^0.4.0","grunt-contrib-nodeunit":"^0.2.0","grunt":"^0.4.4","time-grunt":"^0.3.1"},"peerDependencies":{"grunt":"^0.4.0"},"keywords":["gruntplugin","unretina","retina","resize","resolution"],"dependencies":{"async":"^0.2.10","mkdirp":"^0.3.5","gm":"^1.14.2"},"_id":"grunt-unretina@0.1.2","dist":{"shasum":"f5627b20fdd33f6fcff1f392045b78a4ca4cc3d7","tarball":"https://registry.npmjs.org/grunt-unretina/-/grunt-unretina-0.1.2.tgz","integrity":"sha512-C7BTAfAjOB1qxzzJ9BGsq+yYgBMPJlilSNEqZCHcFqZgoD1OSgMDs6PNlILFJ4XxA5LTAHe16oKqrnelX50keg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBIN1ot4666esq9CLS6GD5cv80cxGJrW2GZ/uyYxhH12AiAqs1ZA65bSo/uabvMAwWpdKzSnS2Xl6Me6Tp54YTE61w=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"ramonfritsch","email":"ramonfritsch@gmail.com"},"maintainers":[{"name":"ramonfritsch","email":"ramonfritsch@gmail.com"}]},"0.1.3":{"name":"grunt-unretina","description":"Scales @2x images down to standard resolution","version":"0.1.3","homepage":"https://github.com/ramonfritsch/grunt-unretina","author":{"name":"Ramon Fritsch","email":"ramonfritsch@gmail.com","url":"http://www.cargocollective.com/ramon/"},"repository":{"type":"git","url":"git://github.com/ramonfritsch/grunt-unretina.git"},"bugs":{"url":"https://github.com/ramonfritsch/grunt-unretina/issues"},"licenses":[{"type":"MIT","url":"https://github.com/ramonfritsch/grunt-unretina/blob/master/LICENSE-MIT"}],"engines":{"node":">=0.10.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"^0.6.0","grunt-contrib-clean":"^0.4.0","grunt-contrib-nodeunit":"^0.2.0","grunt":"^0.4.4","time-grunt":"^0.3.1"},"peerDependencies":{"grunt":"^0.4.0"},"keywords":["gruntplugin","unretina","retina","resize","resolution"],"dependencies":{"async":"^0.2.10","mkdirp":"^0.3.5","gm":"^1.14.2"},"_id":"grunt-unretina@0.1.3","dist":{"shasum":"b57ccd3a2610286d794c6b01613825a7af4ea597","tarball":"https://registry.npmjs.org/grunt-unretina/-/grunt-unretina-0.1.3.tgz","integrity":"sha512-uN7YxkLrMmnAAZHRuIZG1jVq9MhztXMR7EFzQHtu//w1VS3doYzb82b0bqNGwMGEdadXZsK+cGj/zLWP++LvWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBMqQBxmkRfouCqB4gC4KgDcoNLgueRSRsZv0tKN1oyjAiB2cuwn0485+8Bsc09vQNRpIwcAXoet5OCxiDYmSZISgQ=="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"ramonfritsch","email":"ramonfritsch@gmail.com"},"maintainers":[{"name":"ramonfritsch","email":"ramonfritsch@gmail.com"}]},"0.1.4":{"name":"grunt-unretina","description":"Scales @2x images down to standard resolution","version":"0.1.4","homepage":"https://github.com/ramonfritsch/grunt-unretina","author":{"name":"Ramon Fritsch","email":"ramonfritsch@gmail.com","url":"http://www.cargocollective.com/ramon/"},"repository":{"type":"git","url":"git://github.com/ramonfritsch/grunt-unretina.git"},"bugs":{"url":"https://github.com/ramonfritsch/grunt-unretina/issues"},"licenses":[{"type":"MIT","url":"https://github.com/ramonfritsch/grunt-unretina/blob/master/LICENSE-MIT"}],"engines":{"node":">=0.10.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"^0.6.0","grunt-contrib-clean":"^0.4.0","grunt-contrib-nodeunit":"^0.2.0","grunt":"^0.4.4","time-grunt":"^0.3.1"},"peerDependencies":{"grunt":"^0.4.0"},"keywords":["gruntplugin","unretina","retina","resize","resolution"],"dependencies":{"async":"^0.2.10","mkdirp":"^0.3.5","gm":"^1.14.2"},"_id":"grunt-unretina@0.1.4","dist":{"shasum":"4f08fa03b38937f370c37b70b0e07d9bf905a4c4","tarball":"https://registry.npmjs.org/grunt-unretina/-/grunt-unretina-0.1.4.tgz","integrity":"sha512-g+qmwT61X2i3fZKuuynCXTvVIFP5o14arxshMkXMyafKfvWLJjuFkE43YfNEEqXVIeKfDsZPxs0V1xQbh71A7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFB/1okeepPlISRPXQ1Rw1xxfbN7BKtzQZ9D33jPBevNAiEA1w0vaBQsYuZAVStbso3Dx2MBBOgJ6rmDnwcaiBBzCXA="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"ramonfritsch","email":"ramonfritsch@gmail.com"},"maintainers":[{"name":"ramonfritsch","email":"ramonfritsch@gmail.com"}]},"0.1.5":{"name":"grunt-unretina","description":"Scales @2x images down to standard resolution","version":"0.1.5","homepage":"https://github.com/ramonfritsch/grunt-unretina","author":{"name":"Ramon Fritsch","email":"ramonfritsch@gmail.com","url":"http://www.cargocollective.com/ramon/"},"repository":{"type":"git","url":"git://github.com/ramonfritsch/grunt-unretina.git"},"bugs":{"url":"https://github.com/ramonfritsch/grunt-unretina/issues"},"licenses":[{"type":"MIT","url":"https://github.com/ramonfritsch/grunt-unretina/blob/master/LICENSE-MIT"}],"engines":{"node":">=0.10.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"^0.6.0","grunt-contrib-clean":"^0.4.0","grunt-contrib-nodeunit":"^0.2.0","grunt":"^0.4.4","time-grunt":"^0.3.1"},"peerDependencies":{"grunt":"^0.4.0"},"keywords":["gruntplugin","unretina","retina","resize","resolution"],"dependencies":{"async":"^0.2.10","mkdirp":"^0.3.5","gm":"^1.14.2"},"_id":"grunt-unretina@0.1.5","dist":{"shasum":"2188507a37da2382e7a6d2c00ae04bac5290db73","tarball":"https://registry.npmjs.org/grunt-unretina/-/grunt-unretina-0.1.5.tgz","integrity":"sha512-ctNNOLD3LaI4PaWwWSz1/fsH+HKxT7TjsW+qbVfbRETAMhNOZAdbxNqlUKXq0VYHQerz51K5iAMLVl4y5AWxEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYr/KWf7SstSXbrOVpvkJ5zVibu7sgh7rCKTnKaHlSCgIgVvRpIytWd1UwiN1BhawzCpVEAPhrBo3qzcKxhbFxzAU="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"ramonfritsch","email":"ramonfritsch@gmail.com"},"maintainers":[{"name":"ramonfritsch","email":"ramonfritsch@gmail.com"}]}},"readme":"# unretina\n\n> Scales @2x images down to standard resolution\n\n## Getting Started\nThis plugin requires Grunt `~0.4.4` and GraphicsMagick.\n\n### Grunt\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-unretina --save-dev\n```\n\nOne the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-unretina');\n```\n\n### GraphicsMagick\nMake sure GraphicsMagick is installed on your system and properly set up in your `PATH`.\n\nUbuntu:\n\n```shell\n$ apt-get install graphicsmagick\n```\n\nMac OS X (using [Homebrew](http://brew.sh/)):\n\n```shell\n$ brew install graphicsmagick\n```\n\nWindows & others: \n\n[ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/windows/](ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/windows/)\n\nConfirm that GraaphicsMagick is properly set up by executing `gm convert -help` in a terminal.\n\n## The \"unretina\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `unretina` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  unretina: {\n    options: {\n      overwrite: true\n    },\n    your_target: {\n      // Target-specific file lists and/or options go here.\n    },\n  },\n})\n```\n\n### Options\n\n#### options.overwrite\nType: `Boolean`\nDefault value: `true`\n\nDetermines whether file that already exist under this destination will be overwritten.\n\n#### options.sufixies\nType: `Array`\nDefault value: `[\"@2x\", \"-hd\"]`\n\nList of sufixies that are stripped out of the dest file when using multiple files with expand option on.\n\n#### options.concurrency\nType: `Number`\nDefault value: Number of CPUs\n\nDetermines how many resize operations are executed in parallel.\n\n#### options.quality\nType: `Number`\nDefault value: `1`\n\nDetermines the output quality of the resized image. Ranges from `0` (really bad) to `1` (almost lossless). Only applies to jpg images.\n\n### Usage Examples\n\n#### Default Options\nIn this example, the default options are used to resize an image to 100px width. So if the `test/fixtures/wikipedia.png` file has a width of 500px, the generated result would be a 100px wide `tmp/wikipedia.png`.\n\n```js\ngrunt.initConfig({\n  image_resize: {\n    resize: {\n      files: [\n      \t{ src: \"**/*@2x.png\", dest: \"tmp/\", expand: true, \"cwd/test/fixtures/\" }\n      ]\n    }\n  }\n})\n```\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n\n## Release History\n\n * 2014-03-26   v0.1.0   Initial release.\n\n---\n","maintainers":[{"name":"ramonfritsch","email":"ramonfritsch@gmail.com"}],"time":{"modified":"2022-06-18T16:13:29.382Z","created":"2014-03-26T14:36:49.167Z","0.1.0":"2014-03-26T14:36:54.603Z","0.1.1":"2014-03-26T16:55:40.442Z","0.1.2":"2014-03-26T17:16:21.190Z","0.1.3":"2014-03-27T00:09:06.607Z","0.1.4":"2014-03-27T14:20:22.410Z","0.1.5":"2014-03-27T17:27:34.378Z"},"readmeFilename":"README.md","homepage":"https://github.com/ramonfritsch/grunt-unretina","keywords":["gruntplugin","unretina","retina","resize","resolution"],"repository":{"type":"git","url":"git://github.com/ramonfritsch/grunt-unretina.git"},"author":{"name":"Ramon Fritsch","email":"ramonfritsch@gmail.com","url":"http://www.cargocollective.com/ramon/"},"bugs":{"url":"https://github.com/ramonfritsch/grunt-unretina/issues"},"users":{"ramonfritsch":true}}