{
"name": "grunt-contrib-htmlmin",
"description": "Minify HTML",
"version": "0.3.0",
"author": {
"name": "Grunt Team",
"url": "http://gruntjs.com/"
},
"repository": {
"type": "git",
"url": "git://github.com/gruntjs/grunt-contrib-htmlmin"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/gruntjs/grunt-contrib-htmlmin/blob/master/LICENSE-MIT"
}
],
"engines": {
"node": ">= 0.10.0"
},
"scripts": {
"test": "grunt test"
},
"dependencies": {
"chalk": "~0.4.0",
"html-minifier": "~0.6.0",
"pretty-bytes": "~0.1.0"
},
"devDependencies": {
"grunt": "~0.4.2",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-internal": "~0.4.4",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-nodeunit": "~0.3.0"
},
"peerDependencies": {
"grunt": "~0.4.0"
},
"keywords": [
"gruntplugin",
"html",
"min",
"minify",
"compress"
],
"files": [
"tasks",
"LICENSE-MIT"
],
"readme": "# grunt-contrib-htmlmin v0.3.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-htmlmin.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-htmlmin)\n\n> Minify HTML\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-htmlmin --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-htmlmin');\n```\n\n\n\n\n## Htmlmin task\n_Run this task with the `grunt htmlmin` command._\n\nMinifies HTML using [html-minifier](https://github.com/kangax/html-minifier). Bugs regarding the output should be reported [here](https://github.com/kangax/html-minifier/issues/new).\n\n### Options\n\nSee the html-minifier [options](https://github.com/kangax/html-minifier#options-quick-reference).\n\n#### Example config\n\n```javascript\ngrunt.initConfig({\n htmlmin: { // Task\n dist: { // Target\n options: { // Target options\n removeComments: true,\n collapseWhitespace: true\n },\n files: { // Dictionary of files\n 'dist/index.html': 'src/index.html', // 'destination': 'source'\n 'dist/contact.html': 'src/contact.html'\n }\n },\n dev: { // Another target\n files: {\n 'dist/index.html': 'src/index.html',\n 'dist/contact.html': 'src/contact.html'\n }\n }\n }\n});\n\ngrunt.registerTask('default', ['htmlmin']);\n```\n\n\n## Release History\n\n * 2014-05-05 v0.3.0 Drop node.js 0.8 support. Updated to htmlmin 0.6.0.\n * 2014-02-09 v0.2.0 Rewrite task. Drop concat support.\n * 2013-04-06 v0.1.3 Fail target when minify encounters an error.\n * 2013-04-05 v0.1.2 Update html-minifier which fixes IE conditional comments and prefixed HTML elements `` ``.\n * 2013-02-18 v0.1.1 First official release for Grunt 0.4.0.\n * 2013-01-30 v0.1.1rc7 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.1.1rc5 Updating to work with grunt v0.4.0rc5. Switching to this.filesSrc api.\n * 2012-11-01 v0.1.0 Initial release.\n\n---\n\nTask submitted by [Sindre Sorhus](http://github.com/sindresorhus)\n\n*This file was generated on Mon May 05 2014 02:02:08.*\n",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/gruntjs/grunt-contrib-htmlmin/issues"
},
"homepage": "https://github.com/gruntjs/grunt-contrib-htmlmin",
"_id": "grunt-contrib-htmlmin@0.3.0",
"_from": "grunt-contrib-htmlmin@^0.3.0"
}