diff --git a/.babelrc b/.babelrc index ccb21ce2..94ebcc11 100644 --- a/.babelrc +++ b/.babelrc @@ -1,11 +1,13 @@ { - "presets": ["react"], + "presets": [ + "@babel/preset-react" + ], "env": { "test": { "plugins": [ - "transform-es2015-modules-commonjs", - "transform-es2015-classes", - "transform-object-rest-spread" + "@babel/plugin-transform-modules-commonjs", + "@babel/plugin-transform-classes", + "@babel/plugin-proposal-object-rest-spread" ] } } diff --git a/package.json b/package.json index e5a1ea4c..eb0f22ac 100644 --- a/package.json +++ b/package.json @@ -39,12 +39,12 @@ ] }, "devDependencies": { - "babel-core": "^6.26.3", - "babel-loader": "^7.1.4", - "babel-plugin-transform-object-rest-spread": "^6.26.0", - "babel-preset-env": "^1.7.0", - "babel-preset-react": "^6.24.1", - "babel-tape-runner": "^2.0.1", + "@babel/core": "^7.0.0", + "@babel/plugin-proposal-object-rest-spread": "^7.0.0", + "@babel/preset-env": "^7.0.0", + "@babel/preset-react": "^7.0.0", + "babel-loader": "^8.0.0", + "babel-tape-runner": "^3.0.0", "chrome-ext-downloader": "^1.0.4", "clipboardy": "^1.2.3", "cross-env": "^5.1.6", @@ -77,7 +77,7 @@ "mirror-folder": "^3.0.0", "mkdirp-promise": "^5.0.1", "ms": "^2.1.1", - "polished": "^1.9.2", + "polished": "^2.3.0", "prettier-bytes": "^1.0.4", "react": "^16.3.2", "react-dom": "^16.3.2", @@ -87,7 +87,7 @@ "redux": "^4.0.0", "redux-logger": "^3.0.6", "redux-thunk": "^2.2.0", - "styled-components": "^3.2.6", + "styled-components": "^4.1.1", "tachyons": "^4.9.1", "util-promisify": "^2.1.0" }, diff --git a/webpack.config.js b/webpack.config.js index d3150abe..b7aca3e7 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -25,9 +25,9 @@ module.exports = (_, argv) => ({ include: path.normalize(`${__dirname}/app`), loader: 'babel-loader', query: { - presets: ['react'], + presets: ['@babel/preset-react'], plugins: [ - 'transform-object-rest-spread' + '@babel/plugin-transform-modules-commonjs' ] } }