Skip to content

Commit 675c1a2

Browse files
authored
Merge pull request #9 from pine/fix/update_dependencies
Update dependencies
2 parents e644cf9 + 98a8d42 commit 675c1a2

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
language: node_js
22
node_js:
3-
- 4
43
- 6
54
- 8
65
- stable

appveyor.yml

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ test_script:
1010

1111
environment:
1212
matrix:
13-
- nodejs_version: 4
1413
- nodejs_version: 6
1514
- nodejs_version: 8
1615

karma.conf.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const customLaunchers = {
3838
const isTravis = process.env.TRAVIS === 'true'
3939
const isFirstJob = /\.1$/.test(process.env.TRAVIS_JOB_NUMBER)
4040

41-
const browsers = ['PhantomJS2']
41+
const browsers = ['PhantomJS']
4242
if (isTravis && isFirstJob) {
4343
Array.prototype.push.apply(browsers, Object.keys(customLaunchers))
4444
}
@@ -84,6 +84,7 @@ module.exports = function(config) {
8484
resolve: {
8585
extensions: ['.js', '.json']
8686
},
87+
mode: 'development',
8788
},
8889
webpackMiddleware: {
8990
noInfo: true,

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@
2424
"karma": "^2.0.0",
2525
"karma-mocha": "^1.1.1",
2626
"karma-mocha-reporter": "^2.0.4",
27-
"karma-phantomjs2-launcher": "^0.5.0",
27+
"karma-phantomjs-launcher": "^1.0.0",
2828
"karma-sauce-launcher": "^1.2.0",
2929
"karma-sourcemap-loader": "^0.3.7",
30-
"karma-webpack": "^2.0.6",
30+
"karma-webpack": "^3.0.0",
3131
"mocha": "^5.0.0",
3232
"npm-run-all": "^4.1.2",
3333
"text-encoding": "^0.6.0",
34-
"webpack": "^3.10.0"
34+
"webpack": "^4.0.0",
35+
"webpack-cli": "^2.0.13"
3536
},
3637
"author": {
3738
"name": "Pine Mizune",

webpack.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ module.exports = {
2222
resolve: {
2323
extensions: ['.js', '.json']
2424
},
25+
mode: 'development',
2526
}

0 commit comments

Comments
 (0)