Skip to content

Commit b0dcacb

Browse files
authoredSep 4, 2018
Merge pull request #144 from gruntjs/v3
v3.0.0.
2 parents 88bbf7a + 0865122 commit b0dcacb

9 files changed

+4939
-28
lines changed
 

‎.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ sudo: false
33
language: node_js
44

55
node_js:
6-
- "4"
76
- "6"
8-
- "7"
7+
- "8"
8+
- "10"
99

1010
matrix:
1111
fast_finish: true

‎AUTHORS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Sindre Sorhus (http://github.com/sindresorhus)
1+
Sindre Sorhus (https://github.com/sindresorhus)

‎CHANGELOG

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
v3.0.0:
2+
date: 2018-08-26
3+
changes:
4+
- Updated all dependencies.
5+
- Requires Node.js >= 6.
16
v2.4.0:
27
date: 2017-05-16
38
changes:

‎CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Please see the [Contributing to grunt](http://gruntjs.com/contributing) guide for information on contributing to this project.
1+
Please see the [Contributing to grunt](https://gruntjs.com/contributing) guide for information on contributing to this project.

‎Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ module.exports = function (grunt) {
4242
grunt.loadNpmTasks('grunt-contrib-internal');
4343

4444
grunt.registerTask('test', ['jshint', 'clean', 'htmlmin', 'nodeunit']);
45-
grunt.registerTask('default', ['test', 'contrib-core', 'contrib-ci:skipIfExists']);
45+
grunt.registerTask('default', ['test', 'build-contrib']);
4646
};

‎README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# 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)
1+
# 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)
22

33
> Minify HTML
44
55

66

77
## Getting Started
88

9-
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:
9+
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:
1010

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

2222

2323

24-
## htmlmin task
24+
## Htmlmin task
2525
_Run this task with the `grunt htmlmin` command._
2626

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

3333
### Examples
3434

35-
#### Simple example
35+
#### Simple Example
3636

3737
```js
3838
grunt.initConfig({
@@ -59,7 +59,7 @@ grunt.initConfig({
5959
grunt.registerTask('default', ['htmlmin']);
6060
```
6161

62-
#### Example with nested files
62+
#### Example with Nested Files
6363

6464
```js
6565
grunt.initConfig({
@@ -91,6 +91,7 @@ grunt.registerTask('default', ['htmlmin']);
9191

9292
## Release History
9393

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

117118
---
118119

119-
Task submitted by [Sindre Sorhus](http://github.com/sindresorhus)
120+
Task submitted by [Sindre Sorhus](https://github.com/sindresorhus)
120121

121-
*This file was generated on Tue May 16 2017 21:24:09.*
122+
*This file was generated on Sun Aug 26 2018 09:25:56.*

‎appveyor.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ version: "{build}"
55
# What combinations to test
66
environment:
77
matrix:
8-
- nodejs_version: "4"
9-
platform: x64
10-
- nodejs_version: "4"
11-
platform: x86
128
- nodejs_version: "6"
139
platform: x86
14-
- nodejs_version: "7"
10+
- nodejs_version: "8"
11+
platform: x86
12+
- nodejs_version: "10"
1513
platform: x86
1614

1715
install:

‎package-lock.json

+4,907
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
{
22
"name": "grunt-contrib-htmlmin",
33
"description": "Minify HTML",
4-
"version": "2.4.0",
4+
"version": "3.0.0",
55
"author": {
66
"name": "Grunt Team",
7-
"url": "http://gruntjs.com/"
7+
"url": "https://gruntjs.com/"
88
},
99
"repository": "gruntjs/grunt-contrib-htmlmin",
1010
"license": "MIT",
1111
"engines": {
12-
"node": ">=4.0"
12+
"node": ">=6"
1313
},
1414
"main": "tasks/htmlmin.js",
1515
"scripts": {
1616
"test": "grunt test"
1717
},
1818
"dependencies": {
19-
"chalk": "^1.0.0",
20-
"html-minifier": "~3.5.0",
21-
"pretty-bytes": "^4.0.2"
19+
"chalk": "^2.4.1",
20+
"html-minifier": "~3.5.20",
21+
"pretty-bytes": "^5.1.0"
2222
},
2323
"devDependencies": {
24-
"grunt": "^1.0.0",
25-
"grunt-contrib-clean": "^1.0.0",
26-
"grunt-contrib-internal": "^1.1.0",
27-
"grunt-contrib-jshint": "^1.0.0",
28-
"grunt-contrib-nodeunit": "^1.0.0"
24+
"grunt": "^1.0.3",
25+
"grunt-contrib-clean": "^1.1.0",
26+
"grunt-contrib-internal": "^3.1.0",
27+
"grunt-contrib-jshint": "^1.1.0",
28+
"grunt-contrib-nodeunit": "^2.0.0"
2929
},
3030
"keywords": [
3131
"gruntplugin",

0 commit comments

Comments
 (0)
Please sign in to comment.