File tree Expand file tree Collapse file tree 3 files changed +384
-39
lines changed Expand file tree Collapse file tree 3 files changed +384
-39
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- presets : [ 'module:metro-react-native-babel-preset' ] ,
2
+ presets : [
3
+ '@babel/preset-flow' ,
4
+ '@babel/preset-react' ,
5
+ [
6
+ '@babel/preset-env' ,
7
+ {
8
+ targets : {
9
+ node : '8.3' ,
10
+ } ,
11
+ bugfixes : true ,
12
+ } ,
13
+ ] ,
14
+ ] ,
3
15
} ;
Original file line number Diff line number Diff line change 21
21
"devDependencies" : {
22
22
"@babel/cli" : " ^7.8.4" ,
23
23
"@babel/core" : " ^7.9.0" ,
24
+ "@babel/preset-env" : " ^7.9.6" ,
25
+ "@babel/preset-flow" : " ^7.9.0" ,
26
+ "@babel/preset-react" : " ^7.9.4" ,
24
27
"@callstack/eslint-config" : " ^10.0.0" ,
25
28
"@release-it/conventional-changelog" : " ^1.1.0" ,
26
29
"@testing-library/jest-native" : " ~3.1.0" ,
34
37
"flow-bin" : " ^0.122.0" ,
35
38
"flow-copy-source" : " ^2.0.9" ,
36
39
"jest" : " ^26.0.1" ,
37
- "metro-react-native-babel-preset" : " ^0.58.0" ,
38
40
"react" : " ^16.13.1" ,
39
41
"react-native" : " ^0.63.0-rc.1" ,
40
42
"react-test-renderer" : " ^16.13.1" ,
You can’t perform that action at this time.
0 commit comments