You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
5.5 KiB

  1. {
  2. "name": "grunt-contrib-cssmin",
  3. "description": "Compress CSS files.",
  4. "version": "0.6.0",
  5. "homepage": "https://github.com/gruntjs/grunt-contrib-cssmin",
  6. "author": {
  7. "name": "Grunt Team",
  8. "url": "http://gruntjs.com/"
  9. },
  10. "repository": {
  11. "type": "git",
  12. "url": "git://github.com/gruntjs/grunt-contrib-cssmin.git"
  13. },
  14. "bugs": {
  15. "url": "https://github.com/gruntjs/grunt-contrib-cssmin/issues"
  16. },
  17. "licenses": [
  18. {
  19. "type": "MIT",
  20. "url": "https://github.com/gruntjs/grunt-contrib-cssmin/blob/master/LICENSE-MIT"
  21. }
  22. ],
  23. "main": "Gruntfile.js",
  24. "engines": {
  25. "node": ">= 0.8.0"
  26. },
  27. "scripts": {
  28. "test": "grunt test"
  29. },
  30. "dependencies": {
  31. "clean-css": "~1.0.0",
  32. "grunt-lib-contrib": "~0.6.0"
  33. },
  34. "devDependencies": {
  35. "grunt-contrib-jshint": "~0.2.0",
  36. "grunt-contrib-nodeunit": "~0.1.2",
  37. "grunt-contrib-clean": "~0.4.0",
  38. "grunt-contrib-internal": "~0.4.2",
  39. "grunt": "~0.4.0"
  40. },
  41. "peerDependencies": {
  42. "grunt": "~0.4.0"
  43. },
  44. "keywords": [
  45. "gruntplugin"
  46. ],
  47. "contributors": [
  48. {
  49. "name": "Tim Branyen",
  50. "url": "http://goingslowly.com/"
  51. },
  52. {
  53. "name": "Chris Talkington",
  54. "url": "http://christalkington.com/"
  55. },
  56. {
  57. "name": "Thomas Boyt",
  58. "url": "http://www.thomasboyt.com/"
  59. },
  60. {
  61. "name": "Liam Kaufman",
  62. "url": "http://liamkaufman.com/"
  63. },
  64. {
  65. "name": "Jörn Zaefferer",
  66. "url": "http://bassistance.de"
  67. }
  68. ],
  69. "readme": "# grunt-contrib-cssmin [![Build Status](https://secure.travis-ci.org/gruntjs/grunt-contrib-cssmin.png?branch=master)](http://travis-ci.org/gruntjs/grunt-contrib-cssmin)\n\n> Compress CSS files.\n\n\n\n## Getting Started\nThis plugin requires Grunt `~0.4.0`\n\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-contrib-cssmin --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-contrib-cssmin');\n```\n\n*This plugin was designed to work with Grunt 0.4.x. If you're still using grunt v0.3.x it's strongly recommended that [you upgrade](http://gruntjs.com/upgrading-from-0.3-to-0.4), but in case you can't please use [v0.3.2](https://github.com/gruntjs/grunt-contrib-cssmin/tree/grunt-0.3-stable).*\n\n\n\n## Cssmin task\n_Run this task with the `grunt cssmin` command._\n\nTask targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide.\n\nFiles are compressed with [clean-css](https://github.com/GoalSmashers/clean-css).\n### Options\n\n#### banner\n\nType: `String`\nDefault: `null`\n\nPrefix the compressed source with the given banner, with a linebreak inbetween.\n\n#### keepSpecialComments\n\nType: `String` `Number`\nDefault: `'*'`\n\nTo keep or remove special comments, exposing the underlying option from [clean-css](https://github.com/GoalSmashers/clean-css).. `'*'` for keeping all (default), `1` for keeping first one, `0` for removing all.\n\n#### report\nChoices: `false`, `'min'`, `'gzip'`\nDefault: `false`\n\nEither do not report anything, report only minification result, or report minification and gzip results.\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.\n\nExample ouput using `'gzip'`:\n\n```\nOriginal: 198444 bytes.\nMinified: 101615 bytes.\nGzipped: 20084 bytes.\n```\n### Usage Examples\n\n```js\ncssmin: {\n compress: {\n files: {\n 'path/to/output.css': ['path/to/input_one.css', 'path/to/input_two.css']\n }\n },\n with_banner: {\n options: {\n banner: '/* My minified css file */'\n },\n files: {\n 'path/to/output.css': ['path/to/**/*.css']\n }\n }\n}\n```\n\n\n## Release History\n\n * 2013-04-05   v0.6.0   Update clean-css dependency to ~1.0.0\n * 2013-03-14   v0.5.0   Support for 'report' option (false by default)\n * 2013-03-10   v0.4.2   Add banner option Support clean-css keepSpecialComments\n * 2013-02-17   v0.4.1   Update clean-css dependency to ~0.10.0\n * 2013-02-15   v0.4.0   First official release for Grunt 0.4.0.\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.\n * 2013-01-09   v0.4.0rc5   Updating to work with grunt v0.4.0rc5. Switching to this.files api.\n * 2012-11-01   v0.3.2   Update clean-css dep.\n * 2012-10-12   v0.3.1   Rename grunt-contrib-lib dep to grunt-lib-contrib.\n * 2012-09-23   v0.3.0   Options no longer accepted from global config key.\n * 2012-09-10   v0.2.0   Refactored from grunt-contrib into individual repo.\n\n---\n\nTask submitted by [Tim Branyen](http://goingslowly.com/)\n\n*This file was generated on Fri Apr 05 2013 09:03:50.*\n",
  70. "readmeFilename": "README.md",
  71. "_id": "grunt-contrib-cssmin@0.6.0",
  72. "dist": {
  73. "shasum": "29c4ab122e67176a7d4c308a5675d971b08aa5e1"
  74. },
  75. "_from": "grunt-contrib-cssmin@",
  76. "_resolved": "https://registry.npmjs.org/grunt-contrib-cssmin/-/grunt-contrib-cssmin-0.6.0.tgz"
  77. }