{"name":"grunt-contrib-cssmin","description":"Minify CSS","version":"1.0.2","author":{"name":"Grunt Team","url":"http://gruntjs.com/"},"repository":{"type":"git","url":"git+https://github.com/gruntjs/grunt-contrib-cssmin.git"},"license":"MIT","engines":{"node":">=0.10.0"},"main":"tasks/cssmin.js","scripts":{"test":"grunt test"},"dependencies":{"chalk":"^1.0.0","clean-css":"~3.4.2","maxmin":"^1.1.0"},"devDependencies":{"grunt":"^1.0.0","grunt-contrib-clean":"^1.0.0","grunt-contrib-internal":"^1.1.0","grunt-contrib-jshint":"^1.0.0","grunt-contrib-nodeunit":"^1.0.0"},"keywords":["gruntplugin","cssmin","css","style","styles","stylesheet","minify","compress"],"files":["tasks"],"appveyor_id":"ntgfqc3ppk533m84","contributors":[{"name":"Tim Branyen","url":"http://tbranyen.com/"},{"name":"Chris Talkington","url":"http://christalkington.com/"},{"name":"Thomas Boyt","url":"http://www.thomasboyt.com/"},{"name":"Liam Kaufman","url":"http://liamkaufman.com/"},{"name":"Jörn Zaefferer","url":"http://bassistance.de"},{"name":"Braden Anderson","url":"http://google.com/profiles/bluej100"}],"gitHead":"142b040b590e9a8b365b7c2d17afce6b84652dd8","bugs":{"url":"https://github.com/gruntjs/grunt-contrib-cssmin/issues"},"homepage":"https://github.com/gruntjs/grunt-contrib-cssmin#readme","_id":"grunt-contrib-cssmin@1.0.2","_shasum":"1734cbd3d84ca7364758b7e58ff18e52aa60bb76","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"vladikoff","email":"vlad@vladikoff.com"},"dist":{"shasum":"1734cbd3d84ca7364758b7e58ff18e52aa60bb76","tarball":"http://registry-npm.ywwl.com/grunt-contrib-cssmin/download/grunt-contrib-cssmin-1.0.2.tgz","integrity":"sha512-Q29G4TXKf49qoDukbB7X+xi+jvWrx0c5JQk/QkErq4jIHJyJ5asmC61J+kpWDqgcB/o5B1Asxh/oZxe69TtR4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGYX0WnanM45TsU/oCQViXGUsxcjksDONCeZVNAK8exKAiA8SHyW+kC5kknqPkyVgGEEOk/oxPeOcghiHEX2gLbCvw=="}],"size":3706,"noattachment":false,"key":"/grunt-contrib-cssmin/-/grunt-contrib-cssmin-1.0.2.tgz"},"maintainers":[{"name":"tkellen","email":"tyler@sleekcode.net"},{"name":"cowboy","email":"cowboy@rj3.net"},{"name":"jzaefferer","email":"joern.zaefferer@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"jmeas","email":"jellyes2@gmail.com"},{"name":"shama","email":"kyle@dontkry.com"},{"name":"vladikoff","email":"vlad@vladikoff.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/grunt-contrib-cssmin-1.0.2.tgz_1472699415599_0.7156184387858957"},"directories":{},"readme":"# grunt-contrib-cssmin v4.0.0 [![Build Status](https://github.com/gruntjs/grunt-contrib-cssmin/workflows/Tests/badge.svg)](https://github.com/gruntjs/grunt-contrib-cssmin/actions?workflow=Tests)\r\n\r\n> Minify CSS\r\n\r\n\r\n\r\n## Getting Started\r\n\r\nIf you haven't used [Grunt](https://gruntjs.com/) before, be sure to check out the [Getting Started](https://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](https://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:\r\n\r\n```shell\r\nnpm install grunt-contrib-cssmin --save-dev\r\n```\r\n\r\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\r\n\r\n```js\r\ngrunt.loadNpmTasks('grunt-contrib-cssmin');\r\n```\r\n\r\n**Issues with the output should be reported on the clean-css [issue tracker](https://github.com/jakubpawlowicz/clean-css/issues).**\r\n\r\n\r\n\r\n## Cssmin task\r\n_Run this task with the `grunt cssmin` command._\r\n\r\n\r\n### Options\r\n\r\nOptions are passed to [clean-css](https://github.com/jakubpawlowicz/clean-css#how-to-use-clean-css-api). In addition this task defines some extra options:\r\n\r\n\r\n#### report\r\n\r\nType: `string`  \r\nChoices: `'min'`, `'gzip'`  \r\nDefault: `'min'`\r\n\r\nReport minification result or both minification and gzip results.\r\nThis is useful to see exactly how well clean-css is performing but using `'gzip'` will make the task take 5-10x longer to complete. [Example output](https://github.com/sindresorhus/maxmin#readme).\r\n\r\n\r\n#### sourceMap\r\n\r\nType: `boolean`  \r\nChoices: `true`, `false`  \r\nDefault: `false`\r\n\r\nEnable Source Maps.\r\n\r\n### Usage\r\n\r\n#### Combine two files into one output file\r\n\r\n```js\r\ncssmin: {\r\n  options: {\r\n    mergeIntoShorthands: false,\r\n    roundingPrecision: -1\r\n  },\r\n  target: {\r\n    files: {\r\n      'output.css': ['foo.css', 'bar.css']\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n#### Minify all contents of a release directory and add a `.min.css` extension\r\n\r\n```js\r\ncssmin: {\r\n  target: {\r\n    files: [{\r\n      expand: true,\r\n      cwd: 'release/css',\r\n      src: ['*.css', '!*.min.css'],\r\n      dest: 'release/css',\r\n      ext: '.min.css'\r\n    }]\r\n  }\r\n}\r\n```\r\n\r\n\r\n## Release History\r\n\r\n * 2023-05-01   v5.0.0   Update dependencies. Drop Node.js < 14 support.\r\n * 2021-02-15   v4.0.0   Update all dependencies including clean-css v5.x. Drop Node.js < 10 support.\r\n * 2018-09-07   v3.0.0   Update all dependencies. Drop Node.js < 6 support.\r\n * 2017-07-27   v2.2.1   Fix issue with `relativeTo` for clean-css v4.x.\r\n * 2017-05-10   v2.2.0   Update clean-css to v4.1.1.\r\n * 2017-04-17   v2.1.0   Set required Node.js version to >=4 since clean-css 4.x requires that.\r\n * 2017-02-02   v2.0.0   Update clean-css to v4.0.3.\r\n * 2016-08-31   v1.0.2   Fix issues for node 6.\r\n * 2016-03-16   v1.0.1   Downgrade maxmin to support Node.js 0.10.\r\n * 2016-03-04   v1.0.0   Updated docs. Point main to task and removed peerDeps. Update clean-css to v3.4.1.\r\n * 2015-09-15   v0.14.0   Bump to cssmin ~3.4.0. Minor test fixes.\r\n * 2015-07-27   v0.13.0   Bump to cssmin ~3.3.0.\r\n * 2015-05-09   v0.12.3   Improve reporting of errors and warnings. Log out written files and the saved size. Fix absolute paths.\r\n * 2015-02-20   v0.12.2   Set the `rebase` option to `false` by default.\r\n * 2015-02-09   v0.12.0   Add `sourceMap` option.\r\n * 2014-12-24   v0.11.0   Bump `clean-css` to 3.0.1. Remove `banner` option.\r\n * 2014-06-11   v0.10.0   Update clean-css v2.2.0.\r\n * 2014-02-01   v0.9.0   Refactor. Remove grunt-lib-contrib dependency. Backwards-compatibly remove `false` choice from `report`.\r\n * 2014-02-14   v0.8.0   Update clean-css v2.1.0.\r\n * 2013-11-23   v0.7.0   Update clean-css v2.0.0.\r\n * 2013-09-14   v0.6.2   Support relative URLs via clean-css ~1.1.1.\r\n * 2013-05-25   v0.6.1   Support import in-lining via clean-css ~1.0.4.\r\n * 2013-04-05   v0.6.0   Update clean-css dependency to ~1.0.0.\r\n * 2013-03-14   v0.5.0   Support for `report` option (false by default).\r\n * 2013-03-10   v0.4.2   Add `banner` option. Support clean-css `keepSpecialComments`.\r\n * 2013-02-17   v0.4.1   Update clean-css dependency to ~0.10.0.\r\n * 2013-02-15   v0.4.0   First official release for Grunt 0.4.0.\r\n * 2013-01-23   v0.4.0rc7   Updating grunt/gruntplugin dependencies to rc7. Changing in-development grunt/gruntplugin dependency versions from tilde version ranges to specific versions.\r\n * 2013-01-09   v0.4.0rc5   Updating to work with grunt v0.4.0rc5. Switching to `this.files` API.\r\n * 2012-11-01   v0.3.2   Update clean-css dep.\r\n * 2012-10-12   v0.3.1   Rename grunt-contrib-lib dep to grunt-lib-contrib.\r\n * 2012-09-23   v0.3.0   Options no longer accepted from global config key.\r\n * 2012-09-10   v0.2.0   Refactored from grunt-contrib into individual repo.\r\n\r\n---\r\n\r\nTask submitted by [Tim Branyen](http://tbranyen.com/)\r\n\r\n*This is a generated file.*\r\n","publish_time":1472699417417,"_cnpm_publish_time":1472699417417,"dist-tags":{"latest":"5.0.0"}}