Skip to content

Commit

Permalink
Update dev dependencies. Now built with babel 6
Browse files Browse the repository at this point in the history
  • Loading branch information
leoasis committed May 1, 2017
1 parent e16d14f commit edd2ccc
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 16 deletions.
6 changes: 5 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"stage": 0
"presets": [
"es2015",
"stage-2",
"react"
]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
lib
node_modules
/npm-debug.log
yarn.lock
8 changes: 2 additions & 6 deletions examples/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,11 @@ var config = {
resolve: {
alias: {
'react-sound': __dirname + '/../src'
},
extensions: ['', '.js']
}
},
plugins: [
new webpack.NoErrorsPlugin()
],
module: {
loaders: [
{ test: /\.js$/, exclude: /node_modules/, loaders: ['react-hot', 'babel?stage=0'] }
{ test: /\.js$/, exclude: /node_modules/, loaders: ['react-hot-loader', 'babel-loader'] }
]
}
};
Expand Down
20 changes: 11 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,19 @@
"soundmanager2": "^2.97.20150601-a"
},
"devDependencies": {
"babel": "^5.5.6",
"babel-core": "^5.5.6",
"babel-eslint": "^6.0.5",
"babel-loader": "^5.1.4",
"eslint": "^2.13.1",
"eslint-plugin-react": "5.2.2",
"node-libs-browser": "^0.5.2",
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.0.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"eslint": "^3.19.0",
"eslint-plugin-react": "^6.10.3",
"react-dom": ">=15.3.0 <16.0.0",
"react-hot-loader": "^1.3.1",
"rimraf": "^2.4.0",
"webpack": "^1.9.10",
"webpack-dev-server": "^1.9.0"
"webpack": "^2.4.1",
"webpack-dev-server": "^2.4.5"
}
}

0 comments on commit edd2ccc

Please sign in to comment.