47 lines
3.3 KiB
JSON
47 lines
3.3 KiB
JSON
{
|
|
"name": "gulp-minify-css",
|
|
"description": "Minify css with clean-css.",
|
|
"version": "0.3.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/jonathanepollack/gulp-minify-css.git"
|
|
},
|
|
"homepage": "https://github.com/jonathanepollack/gulp-minify-css",
|
|
"keywords": [
|
|
"gulpplugin",
|
|
"minify",
|
|
"css"
|
|
],
|
|
"main": "./index.js",
|
|
"dependencies": {
|
|
"event-stream": "~3.1.0",
|
|
"clean-css": "~2.0.7",
|
|
"clone": "~0.1.11",
|
|
"bufferstreams": "0.0.1",
|
|
"gulp-util": "~2.2.13"
|
|
},
|
|
"engines": {
|
|
"node": ">= 0.10"
|
|
},
|
|
"scripts": {
|
|
"test": "mocha"
|
|
},
|
|
"devDependencies": {
|
|
"mocha": "~1.17.1",
|
|
"chai": "~1.9.0",
|
|
"gulp": "~3.5.0"
|
|
},
|
|
"licenses": [
|
|
{
|
|
"type": "MIT"
|
|
}
|
|
],
|
|
"readme": "[](https://travis-ci.org/jonathanepollack/gulp-minify-css)\n## Information\n\n<table>\n<tr> \n<td>Package</td><td>gulp-minify-css</td>\n</tr>\n<tr>\n<td>Description</td>\n<td>Minify css with <a href=\"https://github.com/GoalSmashers/clean-css\">clean-css.</a></td>\n</tr>\n<tr>\n<td>Node Version</td>\n<td>>= 0.10</td>\n</tr>\n</table>\n\n## Installion\n\n```\nnpm install --save-dev gulp-minify-css\n```\n\n## Usage\n\n```js\nvar minifyCSS = require('gulp-minify-css');\n\ngulp.task('minify-css', function() {\n\n gulp.src('./static/css/*.css')\n .pipe(minifyCSS(opts))\n .pipe(gulp.dest('./dist/'))\n});\n```\n### Options\n* `keepSpecialComments` - `*` for keeping all (default), `1` for keeping first one, `0` for removing all\n* `keepBreaks` - whether to keep line breaks (default is false)\n* `removeEmpty` - whether to remove empty elements (default is false)\n* `debug` - turns on debug mode measuring time spent on cleaning up\n (run `npm run bench` to see example)\n* `root` - path with which to resolve absolute `@import` rules\n* `relativeTo` - path with which to resolve relative `@import` rules\n\n## LICENSE\n\n(MIT License)\n\nCopyright (c) 2013 Jonathan Pollack (<jonathanepollack@gmail.com>), Cloublabs Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
|
|
"readmeFilename": "README.md",
|
|
"bugs": {
|
|
"url": "https://github.com/jonathanepollack/gulp-minify-css/issues"
|
|
},
|
|
"_id": "gulp-minify-css@0.3.0",
|
|
"_from": "gulp-minify-css@"
|
|
}
|