Skip to content

Commit

Permalink
chore(dependencies): add support for webpack@3
Browse files Browse the repository at this point in the history
  • Loading branch information
mastilver committed Jul 19, 2017
1 parent 4ebe078 commit ed1e72a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,17 @@ node_js:
- '8'
- '6'
- '4'

env:
- WEBPACK_VERSION=2
- WEBPACK_VERSION=3

install:
- npm install
- npm install webpack@$WEBPACK_VERSION || true

script:
- npm test

after_script:
- './node_modules/.bin/nyc report --reporter=text-lcov > coverage.lcov && ./node_modules/.bin/codecov'
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
],
"dependencies": {
"babel-runtime": "^6.23.0",
"html-webpack-include-assets-plugin": "0.0.5",
"html-webpack-include-assets-plugin": "0.0.7",
"read-pkg-up": "^2.0.0",
"resolve-pkg": "^1.0.0"
},
"peerDependencies": {
"module-to-cdn": "^3.0.1",
"webpack": "2.x"
"webpack": "2 || 3"
},
"devDependencies": {
"all-contributors-cli": "^4.3.0",
Expand All @@ -55,7 +55,7 @@
"mz": "^2.6.0",
"nyc": "^11.0.3",
"rimraf": "^2.6.1",
"webpack": "^2.6.1",
"webpack": "^3.3.0",
"webpack-manifest-plugin": "^1.1.0",
"xo": "^0.18.2"
},
Expand Down

0 comments on commit ed1e72a

Please sign in to comment.