Skip to content

Commit

Permalink
Upgrade to babel 7 (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
TrySound committed Aug 28, 2018
1 parent 0b9d636 commit 5cc6324
Show file tree
Hide file tree
Showing 4 changed files with 478 additions and 557 deletions.
16 changes: 0 additions & 16 deletions .babelrc

This file was deleted.

4 changes: 4 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
presets: [['@babel/env', { loose: true }], '@babel/react'],
plugins: [['@babel/proposal-class-properties', { loose: true }]],
}
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,18 @@
},
"homepage": "https://github.com/renatorib/react-powerplug",
"dependencies": {
"@babel/runtime": "7.0.0-rc.1"
"@babel/runtime": "^7.0.0"
},
"devDependencies": {
"@babel/core": "^7.0.0-rc.1",
"@babel/plugin-proposal-class-properties": "^7.0.0-rc.1",
"@babel/plugin-transform-modules-commonjs": "^7.0.0-rc.1",
"@babel/plugin-transform-runtime": "^7.0.0-rc.1",
"@babel/preset-env": "^7.0.0-rc.1",
"@babel/preset-react": "^7.0.0-rc.1",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@types/react": "^16.3.13",
"all-contributors-cli": "^4.11.2",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^9.0.0-beta.3",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.0.0",
"cross-env": "^5.0.5",
"dtslint": "^0.3.0",
Expand All @@ -91,8 +90,8 @@
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0",
"rimraf": "^2.6.1",
"rollup": "^0.63.4",
"rollup-plugin-babel": "^4.0.0-beta.8",
"rollup": "^0.65.0",
"rollup-plugin-babel": "^4.0.1",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-size-snapshot": "^0.6.1",
Expand Down
Loading

0 comments on commit 5cc6324

Please sign in to comment.