Skip to content

Commit

Permalink
Merge pull request #102 from TrySound/upgrade-babel
Browse files Browse the repository at this point in the history
Upgrade babel to beta
  • Loading branch information
souporserious authored Mar 27, 2018
2 parents 6e64f82 + 398a0b6 commit c67881e
Show file tree
Hide file tree
Showing 3 changed files with 756 additions and 743 deletions.
11 changes: 6 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"presets": [
["env", { "modules": false, "loose": true }],
"stage-2",
"react"
["@babel/env", { "modules": false, "loose": true }],
"@babel/stage-3",
"@babel/react",
"@babel/flow"
],
plugins: [
["transform-runtime", { "polyfill": false }]
["@babel/transform-runtime", { "polyfill": false }]
],
"env": {
"cjs": {
"plugins": [
"transform-es2015-modules-commonjs"
"@babel/transform-modules-commonjs"
]
}
}
Expand Down
20 changes: 11 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,21 @@
"react-dom": ">0.13.0"
},
"dependencies": {
"babel-runtime": "^6.26.0",
"@babel/runtime": "^7.0.0-beta.42",
"resize-observer-polyfill": "^1.5.0"
},
"devDependencies": {
"babel-cli": "^6.16.0",
"babel-core": "^6.17.0",
"@babel/cli": "^7.0.0-beta.42",
"@babel/core": "^7.0.0-beta.42",
"@babel/plugin-transform-modules-commonjs": "^7.0.0-beta.42",
"@babel/plugin-transform-runtime": "^7.0.0-beta.42",
"@babel/preset-env": "^7.0.0-beta.42",
"@babel/preset-flow": "^7.0.0-beta.42",
"@babel/preset-react": "^7.0.0-beta.42",
"@babel/preset-stage-3": "^7.0.0-beta.42",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^8.2.1",
"babel-loader": "^7.1.2",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.16.0",
"babel-preset-stage-2": "^6.24.1",
"babel-loader": "^8.0.0-beta.2",
"create-react-context": "^0.1.6",
"cross-env": "^5.1.3",
"del-cli": "^1.1.0",
Expand Down
Loading

0 comments on commit c67881e

Please sign in to comment.