.babelrc 359 B

123456789101112131415161718192021
  1. {
  2. "presets": [
  3. ["env", {
  4. "modules": false,
  5. "targets": {
  6. "browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
  7. }
  8. }],
  9. "stage-2",
  10. "es2015"
  11. ],
  12. "plugins": ["transform-runtime",],
  13. "env": {
  14. "test": {
  15. "presets": ["env", "stage-2","es2015"],
  16. "plugins": ["istanbul"]
  17. }
  18. },
  19. "comments": false,
  20. }