File tree 3 files changed +1058
-1168
lines changed
3 files changed +1058
-1168
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"presets" : [
3
- " env" ,
4
- " react" ,
5
- " stage-0"
3
+ " @babel/preset-env" ,
4
+ " @babel/preset-react"
6
5
],
7
6
"plugins" : [
8
- " transform-class-properties" ,
9
- " transform-decorators" ,
10
- " transform-react-constant-elements" ,
11
- " transform-react-inline-elements"
7
+ " @babel/plugin-transform-react-constant-elements" ,
8
+ " @babel/plugin-transform-react-inline-elements"
12
9
]
13
10
}
Original file line number Diff line number Diff line change 32
32
},
33
33
"license" : " MIT" ,
34
34
"devDependencies" : {
35
- "babel-cli" : " ^6.26.0" ,
36
- "babel-env" : " ^2.4.1" ,
37
- "babel-loader" : " ^7.1.4" ,
38
- "babel-preset-react" : " ^6.24.1" ,
39
- "babel-preset-stage-0" : " ^6.24.1" ,
35
+ "@babel/cli" : " ^7.6.2" ,
36
+ "@babel/core" : " ^7.6.2" ,
37
+ "@babel/plugin-transform-react-constant-elements" : " ^7.6.0" ,
38
+ "@babel/plugin-transform-react-inline-elements" : " ^7.2.0" ,
39
+ "@babel/preset-env" : " ^7.6.2" ,
40
+ "@babel/preset-react" : " ^7.0.0" ,
40
41
"husky" : " ^3.0.7" ,
41
42
"lint-staged" : " ^9.4.1" ,
42
43
"prettier" : " ^1.18.2" ,
54
55
},
55
56
"files" : [
56
57
" lib/**/*.js"
57
- ],
58
- "babel" : {
59
- "presets" : [
60
- " react" ,
61
- " env" ,
62
- " stage-0"
63
- ]
64
- }
58
+ ]
65
59
}
You can’t perform that action at this time.
0 commit comments