File tree Expand file tree Collapse file tree 3 files changed +10
-22
lines changed Expand file tree Collapse file tree 3 files changed +10
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
+ env : {
3
+ test : {
4
+ presets : [ 'module:metro-react-native-babel-preset' ] ,
5
+ retainLines : true ,
6
+ } ,
7
+ } ,
2
8
presets : [ 'module:metro-react-native-babel-preset' ] ,
3
9
retainLines : true ,
4
10
plugins : [ 'transform-inline-environment-variables' ] ,
Original file line number Diff line number Diff line change 53
53
"url-parse" : " ^1.2.0"
54
54
},
55
55
"devDependencies" : {
56
+ "@babel/core" : " ^7.4.0" ,
57
+ "@babel/preset-env" : " ^7.3.1" ,
58
+ "@babel/runtime" : " ^7.4.2" ,
56
59
"@react-native-community/async-storage" : " 1.2.4" ,
57
60
"@react-native-community/eslint-config" : " 0.0.5" ,
58
61
"@types/prop-types" : " ^15.5.3" ,
59
62
"@types/react-native" : " ^0.55.21" ,
60
- "babel-cli" : " ^6.23.0" ,
61
- "babel-core" : " ^7.0.0-bridge.0" ,
62
63
"babel-jest" : " ^24.5.0" ,
63
- "babel-preset-es2015" : " ^6.22.0" ,
64
- "babel-preset-react" : " ^6.22.0" ,
64
+ "babel-preset-react-native" : " *" ,
65
65
"eslint" : " ^5.16.0" ,
66
66
"eslint-plugin-import" : " ^2.2.0" ,
67
67
"eslint-plugin-uilib" : " file:./eslint-rules" ,
98
98
"transform" : {
99
99
"^.+\\ .js$" : " <rootDir>/node_modules/react-native/jest/preprocessor.js"
100
100
}
101
- },
102
- "babel_IGNORE" : {
103
- "env" : {
104
- "test" : {
105
- "presets" : [
106
- " react-native"
107
- ],
108
- "retainLines" : true
109
- }
110
- },
111
- "plugins" : [
112
- " transform-inline-environment-variables"
113
- ]
114
101
}
115
102
}
You can’t perform that action at this time.
0 commit comments