Skip to content

Commit

Permalink
Make Babel versions explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingItWrong committed Sep 28, 2018
1 parent 987577f commit 5db511d
Show file tree
Hide file tree
Showing 4 changed files with 138 additions and 126 deletions.
6 changes: 0 additions & 6 deletions .babelrc

This file was deleted.

6 changes: 6 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
"presets": ["react-native"],
"plugins": [
["@babel/plugin-proposal-decorators", { "legacy": true }],
],
};
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
"react-navigation": "^2.11.2"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.47",
"@babel/plugin-proposal-decorators": "7.0.0-beta.47",
"@jonny/react-native-mock": "^0.4.2",
"babel-core": "^7.0.0-0",
"babel-eslint": "^8.2.6",
"babel-jest": "23.6.0",
"babel-preset-react-native": "^5",
Expand All @@ -44,6 +46,9 @@
"preset": "react-native",
"setupFiles": [
"./tests/setup.js"
],
"transformIgnorePatterns": [
"/node_modules/(?!react-native).+\\.js$"
]
},
"detox": {
Expand Down
Loading

0 comments on commit 5db511d

Please sign in to comment.