File tree Expand file tree Collapse file tree 2 files changed +30
-30
lines changed Expand file tree Collapse file tree 2 files changed +30
-30
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "presets" : [
3
+ [
4
+ " env" ,
5
+ {
6
+ "modules" : false
7
+ }
8
+ ],
9
+ " react" ,
10
+ " stage-0"
11
+ ],
12
+ "env" : {
13
+ "production" : {
14
+ "only" : [
15
+ " app"
16
+ ],
17
+ "plugins" : [
18
+ " transform-react-remove-prop-types" ,
19
+ " transform-react-constant-elements" ,
20
+ " transform-react-inline-elements"
21
+ ]
22
+ },
23
+ "test" : {
24
+ "plugins" : [
25
+ " transform-es2015-modules-commonjs" ,
26
+ " dynamic-import-node"
27
+ ]
28
+ }
29
+ }
30
+ }
Original file line number Diff line number Diff line change 28
28
"test" : " cross-env NODE_ENV=test jest --coverage" ,
29
29
"test:watch" : " cross-env NODE_ENV=test jest --watchAll"
30
30
},
31
- "babel" : {
32
- "presets" : [
33
- [
34
- " env" ,
35
- {
36
- "modules" : false
37
- }
38
- ],
39
- " react" ,
40
- " stage-0"
41
- ],
42
- "env" : {
43
- "production" : {
44
- "only" : [
45
- " app"
46
- ],
47
- "plugins" : [
48
- " transform-react-remove-prop-types" ,
49
- " transform-react-constant-elements" ,
50
- " transform-react-inline-elements"
51
- ]
52
- },
53
- "test" : {
54
- "plugins" : [
55
- " transform-es2015-modules-commonjs" ,
56
- " dynamic-import-node"
57
- ]
58
- }
59
- }
60
- },
61
31
"jest" : {
62
32
"collectCoverageFrom" : [
63
33
" app/**/*.{js,jsx}" ,
You can’t perform that action at this time.
0 commit comments