{"name":"grunt-contrib-cssmin","description":"Minify CSS","version":"3.0.0","author":{"name":"Grunt Team","url":"https://gruntjs.com/"},"repository":{"type":"git","url":"git+https://github.com/gruntjs/grunt-contrib-cssmin.git"},"license":"MIT","engines":{"node":">=6.0"},"main":"tasks/cssmin.js","scripts":{"test":"grunt test"},"dependencies":{"chalk":"^2.4.1","clean-css":"~4.2.1","maxmin":"^2.1.0"},"devDependencies":{"grunt":"^1.0.3","grunt-contrib-clean":"^1.1.0","grunt-contrib-internal":"^3.1.0","grunt-contrib-jshint":"^1.1.0","grunt-contrib-nodeunit":"^2.0.0"},"keywords":["gruntplugin","cssmin","css","style","styles","stylesheet","minify","compress"],"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":"052b0cb96f5350714a8ec9db3d19912a4144bf1f","bugs":{"url":"https://github.com/gruntjs/grunt-contrib-cssmin/issues"},"homepage":"https://github.com/gruntjs/grunt-contrib-cssmin#readme","_id":"grunt-contrib-cssmin@3.0.0","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"xhmikosr","email":"xhmikosr@gmail.com"},"dist":{"integrity":"sha512-eXpooYmVGKMs/xV7DzTLgJFPVOfMuawPD3x0JwhlH0mumq2NtH3xsxaHxp1Y3NKxp0j0tRhFS6kSBRsz6TuTGg==","shasum":"1767c0a062f4b7353c5adcadc52dcff7197d4d89","tarball":"http://registry-npm.ywwl.com/grunt-contrib-cssmin/download/grunt-contrib-cssmin-3.0.0.tgz","fileCount":4,"unpackedSize":12132,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkb7DCRA9TVsSAnZWagAAkEkP/2PE4N7tUuTSq1btXXN9\nHHqRJEHBmZ2k3SxjX5SPhNjbG8kUQ30mDvGMCjqeKNL6N8IHtqrmBQGysTJ1\nOgwSsZKJnXtEmiteZRQHDy3D2HlfVD7gO0WrcTF5QRuConk/8T/vfOuvOeMw\nKeDObV/SE22SnVRtsAky6YG5dNLQ8+G0bM2BNFR3rJf14lGZ+V0MOfZWMZPv\nbBnrqw1BJB+V6X2BfANNH32z7zXDECarGmUYBYNuB7XcNCuVURcMjhpS0kib\nYlugSZsCjHjjQagaRWZtIfQVtFxwjassVABteoiZkxNOpmVagWTaOPtn5FDf\ncH50NJ2kM+osOTRgMHCkcOFZWOl97/qOnQjeDRVShNSWGbR9QV/Ddl10Ul++\nPeRqZasx59WJTj692dFMbS6qIidVxeh3wG7jVo8iS/Q6rnMo0VyLfHbmQDK0\nNzXRGSrZ4COOJmI+0qync72VPJlGcBY/YMRnPEkBnhEKyoQTbsQWRNG/K4QZ\nZslh3TQ76Xy+khYZXeAyVUB9ufyFTKiU5tGHrdInUXGvaP3Lp54A0iH/wH2F\nWbkfEu5ln+UBSP1EVQWBllj015hi5PMmLa3IgM+kjJGxWdMzS0E/4GQfPAHH\n4ulN5WjRJhMIl5/T7cE2l3Cv3GcQv7fVEZXPXvmHu7WcdwPwWfXrsYOo56vs\nmzAd\r\n=y0pe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFUH0GLpruQTh+krwLilNHN3q5xlRibK0LZKnLwbefXQIhAKrQKKlD3P+l89yvMDVsdUGKzjsOpj/Bp9WBDThI5MUO"}],"size":3915,"noattachment":false,"key":"/grunt-contrib-cssmin/-/grunt-contrib-cssmin-3.0.0.tgz"},"maintainers":[{"name":"cowboy","email":"cowboy@rj3.net"},{"name":"jmeas","email":"jellyes2@gmail.com"},{"name":"jzaefferer","email":"joern.zaefferer@gmail.com"},{"name":"shama","email":"kyle@dontkry.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"tkellen","email":"tyler@sleekcode.net"},{"name":"vladikoff","email":"vlad@vladikoff.com"},{"name":"xhmikosr","email":"xhmikosr@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/grunt-contrib-cssmin_3.0.0_1536278210762_0.5481168126569078"},"_hasShrinkwrap":false,"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":1536278210961,"_cnpm_publish_time":1536278210961,"dist-tags":{"latest":"5.0.0"}}