Skip to content

Commit

Permalink
feat: Add support for html-webpack-plugin 4
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Drop support for node < 6
  • Loading branch information
jantimon committed Oct 15, 2018
1 parent be92bea commit a7379f1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
27 changes: 7 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,11 @@
language: node_js
node_js:
- "4"
- "5"
- "6"
env:
- WEBPACK_VERSION=1 HTML_WEBPACK_VERSION=2
- WEBPACK_VERSION=4 HTML_WEBPACK_VERSION=3
- stable
- lts/*
- 6.9
before_install:
- stty columns 120
install:
- npm install --ignore-scripts
- npm rm webpack
- npm rm html-webpack-plugin
- npm install webpack@$WEBPACK_VERSION html-webpack-plugin@$HTML_WEBPACK_VERSION --ignore-scripts || true
matrix:
exclude:
- env: WEBPACK_VERSION=4 HTML_WEBPACK_VERSION=3
node_js: "4"
- env: WEBPACK_VERSION=4 HTML_WEBPACK_VERSION=3
node_js: "5"
include:
- env: WEBPACK_VERSION=4 HTML_WEBPACK_VERSION=3
node_js: "8"
- travis_retry npm install --ignore-scripts
script:
- npm test
- travis_retry npm test
15 changes: 14 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "html-webpack-harddisk-plugin",
"version": "0.2.0",
"version": "1.0.0",
"description": "Write html files to hard disk even when using the webpack dev server or middleware",
"main": "index.js",
"files": [
Expand All @@ -10,6 +10,8 @@
"prepublish": "npm run test",
"pretest": "semistandard",
"test": "jasmine",
"commit": "git-cz",
"release": "standard-version",
"debug": "node-debug jasmine"
},
"repository": {
Expand All @@ -31,11 +33,14 @@
"homepage": "https://github.com/jantimon/html-webpack-harddisk-plugin",
"devDependencies": {
"@types/webpack": "^4.4.12",
"commitizen": "3.0.2",
"cz-conventional-changelog": "2.1.0",
"html-webpack-plugin": "^4.0.0-beta.1",
"jasmine": "^2.4.1",
"memory-fs": "^0.3.0",
"rimraf": "^2.5.2",
"semistandard": "^7.0.5",
"standard-version": "4.4.0",
"webpack": "^4.20.2"
},
"peerDependencies": {
Expand All @@ -44,5 +49,13 @@
},
"dependencies": {
"mkdirp": "^0.5.1"
},
"engines": {
"node": ">=6.9"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}

0 comments on commit a7379f1

Please sign in to comment.