File tree Expand file tree Collapse file tree 1 file changed +36
-58
lines changed Expand file tree Collapse file tree 1 file changed +36
-58
lines changed Original file line number Diff line number Diff line change 101101    "concurrency" : 8 
102102  },
103103  "babel" : {
104+     "sourceMaps" : true ,
104105    "presets" : [
105106      [
106107        " @babel/preset-env"  ,
107108        {
108-           "targets" : [
109-             " defaults"  ,
110-             " maintained node versions" 
109+           "targets" : " current node" 
110+         }
111+       ]
112+     ],
113+     "plugins" : [
114+       [
115+         " transform-remove-console"  ,
116+         {
117+           "exclude" : [
118+             " log"  ,
119+             " error"  ,
120+             " warn" 
111121          ]
112122        }
113123      ]
114124    ],
115125    "env" : {
116126      "debug" : {
117127        "presets" : [
118-           [
119-             " @babel/preset-env"  ,
120-             {
121-               "targets" : " current node" 
122-             }
123-           ],
124-           " babel-preset-power-assert" 
125-         ]
126-       },
127-       "test" : {
128-         "presets" : [
129-           [
130-             " @babel/preset-env"  ,
131-             {
132-               "targets" : " current node" 
133-             }
134-           ],
135128          " babel-preset-power-assert" 
136129        ],
137130        "plugins" : [
138131          [
139132            " transform-remove-console"  ,
140133            {
141134              "exclude" : [
135+                 " debug"  ,
142136                " log"  ,
143137                " error"  ,
144138                " warn" 
147141          ]
148142        ]
149143      },
150-       "development " : {
144+       "test " : {
151145        "presets" : [
152146          " babel-preset-power-assert" 
153-         ],
154-         "plugins" : [
155-           [
156-             " transform-remove-console"  ,
157-             {
158-               "exclude" : [
159-                 " log"  ,
160-                 " error"  ,
161-                 " warn" 
162-               ]
163-             }
164-           ]
165-         ]
166-       },
167-       "production" : {
168-         "plugins" : [
169-           " babel-plugin-unassert"  ,
170-           [
171-             " transform-remove-console"  ,
172-             {
173-               "exclude" : [
174-                 " log"  ,
175-                 " error"  ,
176-                 " warn" 
177-               ]
178-             }
179-           ]
180147        ]
181148      },
182149      "cover" : {
183150        "sourceMaps" : " both"  ,
151+         "presets" : [
152+           " babel-preset-power-assert" 
153+         ]
154+       },
155+       "development" : {
184156        "presets" : [
185157          [
186158            " @babel/preset-env"  ,
187159            {
188-               "targets" : " current node" 
160+               "targets" : [
161+                 " defaults"  ,
162+                 " maintained node versions" 
163+               ]
189164            }
190165          ],
191166          " babel-preset-power-assert" 
192-         ],
193-         "plugins" : [
167+         ]
168+       },
169+       "production" : {
170+         "presets" : [
194171          [
195-             " transform-remove-console "  ,
172+             " @babel/preset-env "  ,
196173            {
197-               "exclude" : [
198-                 " log"  ,
199-                 " error"  ,
200-                 " warn" 
174+               "targets" : [
175+                 " defaults"  ,
176+                 " maintained node versions" 
201177              ]
202178            }
203179          ]
180+         ],
181+         "plugins" : [
182+           " babel-plugin-unassert" 
204183        ]
205184      }
206-     },
207-     "sourceMaps" : true 
185+     }
208186  }
209187}
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments