Skip to content

Commit

Permalink
Merge pull request #144 from gruntjs/v3
Browse files Browse the repository at this point in the history
v3.0.0.
  • Loading branch information
vladikoff authored Sep 4, 2018
2 parents 88bbf7a + 0865122 commit b0dcacb
Show file tree
Hide file tree
Showing 9 changed files with 4,939 additions and 28 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ sudo: false
language: node_js

node_js:
- "4"
- "6"
- "7"
- "8"
- "10"

matrix:
fast_finish: true
Expand Down
2 changes: 1 addition & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Sindre Sorhus (http://github.com/sindresorhus)
Sindre Sorhus (https://github.com/sindresorhus)
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v3.0.0:
date: 2018-08-26
changes:
- Updated all dependencies.
- Requires Node.js >= 6.
v2.4.0:
date: 2017-05-16
changes:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Please see the [Contributing to grunt](http://gruntjs.com/contributing) guide for information on contributing to this project.
Please see the [Contributing to grunt](https://gruntjs.com/contributing) guide for information on contributing to this project.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-internal');

grunt.registerTask('test', ['jshint', 'clean', 'htmlmin', 'nodeunit']);
grunt.registerTask('default', ['test', 'contrib-core', 'contrib-ci:skipIfExists']);
grunt.registerTask('default', ['test', 'build-contrib']);
};
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# grunt-contrib-htmlmin v2.4.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-htmlmin.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-htmlmin) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/sn73i2qggqeolnc2/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-htmlmin/branch/master)
# grunt-contrib-htmlmin v3.0.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-htmlmin.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-htmlmin) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/sn73i2qggqeolnc2/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-htmlmin/branch/master)

> Minify HTML


## Getting Started

If 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:
If 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:

```shell
npm install grunt-contrib-htmlmin --save-dev
Expand All @@ -21,7 +21,7 @@ grunt.loadNpmTasks('grunt-contrib-htmlmin');



## htmlmin task
## Htmlmin task
_Run this task with the `grunt htmlmin` command._

*Issues with the output should be reported on the `htmlmin` [issue tracker](https://github.com/kangax/html-minifier/issues/new).*
Expand All @@ -32,7 +32,7 @@ See the `html-minifier` [options](https://github.com/kangax/html-minifier#option

### Examples

#### Simple example
#### Simple Example

```js
grunt.initConfig({
Expand All @@ -59,7 +59,7 @@ grunt.initConfig({
grunt.registerTask('default', ['htmlmin']);
```

#### Example with nested files
#### Example with Nested Files

```js
grunt.initConfig({
Expand Down Expand Up @@ -91,6 +91,7 @@ grunt.registerTask('default', ['htmlmin']);

## Release History

* 2018-08-26   v3.0.0   Updated all dependencies. Requires Node.js >= 6.
* 2017-05-16   v2.4.0   Updated html-minifier to v3.5.0.
* 2017-03-08   v2.3.0   Updated html-minifier to v3.4.0.
* 2017-01-30   v2.2.0   Updated html-minifier to v3.3.0.
Expand All @@ -116,6 +117,6 @@ grunt.registerTask('default', ['htmlmin']);

---

Task submitted by [Sindre Sorhus](http://github.com/sindresorhus)
Task submitted by [Sindre Sorhus](https://github.com/sindresorhus)

*This file was generated on Tue May 16 2017 21:24:09.*
*This file was generated on Sun Aug 26 2018 09:25:56.*
8 changes: 3 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ version: "{build}"
# What combinations to test
environment:
matrix:
- nodejs_version: "4"
platform: x64
- nodejs_version: "4"
platform: x86
- nodejs_version: "6"
platform: x86
- nodejs_version: "7"
- nodejs_version: "8"
platform: x86
- nodejs_version: "10"
platform: x86

install:
Expand Down
Loading

0 comments on commit b0dcacb

Please sign in to comment.