Skip to content

Commit a7379f1

Browse files
committed
feat: Add support for html-webpack-plugin 4
BREAKING CHANGE: Drop support for node < 6
1 parent be92bea commit a7379f1

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

.travis.yml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,11 @@
11
language: node_js
22
node_js:
3-
- "4"
4-
- "5"
5-
- "6"
6-
env:
7-
- WEBPACK_VERSION=1 HTML_WEBPACK_VERSION=2
8-
- WEBPACK_VERSION=4 HTML_WEBPACK_VERSION=3
3+
- stable
4+
- lts/*
5+
- 6.9
6+
before_install:
7+
- stty columns 120
98
install:
10-
- npm install --ignore-scripts
11-
- npm rm webpack
12-
- npm rm html-webpack-plugin
13-
- npm install webpack@$WEBPACK_VERSION html-webpack-plugin@$HTML_WEBPACK_VERSION --ignore-scripts || true
14-
matrix:
15-
exclude:
16-
- env: WEBPACK_VERSION=4 HTML_WEBPACK_VERSION=3
17-
node_js: "4"
18-
- env: WEBPACK_VERSION=4 HTML_WEBPACK_VERSION=3
19-
node_js: "5"
20-
include:
21-
- env: WEBPACK_VERSION=4 HTML_WEBPACK_VERSION=3
22-
node_js: "8"
9+
- travis_retry npm install --ignore-scripts
2310
script:
24-
- npm test
11+
- travis_retry npm test

package.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "html-webpack-harddisk-plugin",
3-
"version": "0.2.0",
3+
"version": "1.0.0",
44
"description": "Write html files to hard disk even when using the webpack dev server or middleware",
55
"main": "index.js",
66
"files": [
@@ -10,6 +10,8 @@
1010
"prepublish": "npm run test",
1111
"pretest": "semistandard",
1212
"test": "jasmine",
13+
"commit": "git-cz",
14+
"release": "standard-version",
1315
"debug": "node-debug jasmine"
1416
},
1517
"repository": {
@@ -31,11 +33,14 @@
3133
"homepage": "https://github.com/jantimon/html-webpack-harddisk-plugin",
3234
"devDependencies": {
3335
"@types/webpack": "^4.4.12",
36+
"commitizen": "3.0.2",
37+
"cz-conventional-changelog": "2.1.0",
3438
"html-webpack-plugin": "^4.0.0-beta.1",
3539
"jasmine": "^2.4.1",
3640
"memory-fs": "^0.3.0",
3741
"rimraf": "^2.5.2",
3842
"semistandard": "^7.0.5",
43+
"standard-version": "4.4.0",
3944
"webpack": "^4.20.2"
4045
},
4146
"peerDependencies": {
@@ -44,5 +49,13 @@
4449
},
4550
"dependencies": {
4651
"mkdirp": "^0.5.1"
52+
},
53+
"engines": {
54+
"node": ">=6.9"
55+
},
56+
"config": {
57+
"commitizen": {
58+
"path": "./node_modules/cz-conventional-changelog"
59+
}
4760
}
4861
}

0 commit comments

Comments
 (0)