[go: nahoru, domu]

Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zesik committed Apr 28, 2018
1 parent f8e3544 commit d04f259
Show file tree
Hide file tree
Showing 3 changed files with 3,035 additions and 1,219 deletions.
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,28 @@
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"coveralls": "^2.13.3",
"coveralls": "^3.0.0",
"css-loader": "^0.28.7",
"eslint": "^4.8.0",
"eslint-config-airbnb": "^15.1.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.4.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^21.2.1",
"jest": "^22.4.3",
"jsdom": "^11.3.0",
"raf": "^3.4.0",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-router-dom": "^4.2.2",
"react-test-renderer": "^16.0.0",
"style-loader": "^0.19.0",
"webpack": "^3.6.0"
"style-loader": "^0.21.0",
"webpack": "^4.6.0",
"webpack-cli": "^2.0.15"
},
"peerDependencies": {
"react": "^15.5.0 || ^16.0.0",
"prop-types": "^15.5.0"
"prop-types": "^15.5.0",
"react": "^15.5.0 || ^16.0.0"
},
"scripts": {
"prepublish": "webpack --progress -p",
Expand Down
9 changes: 3 additions & 6 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const { resolve } = require('path');
const webpack = require('webpack');

module.exports = {
mode: 'production',
entry: [
'./index.js'
],
Expand All @@ -12,8 +13,8 @@ module.exports = {
rules: [
{
test: /\.jsx?$/,
use: 'babel-loader',
exclude: /node_modules/
exclude: /node_modules/,
use: 'babel-loader'
}, {
test: /\.css$/,
use: [
Expand All @@ -23,10 +24,6 @@ module.exports = {
}
]
},
plugins: [
new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('production') }),
new webpack.optimize.UglifyJsPlugin()
],
output: {
path: resolve(__dirname, 'lib'),
filename: 'index.js',
Expand Down
Loading

0 comments on commit d04f259

Please sign in to comment.