.babelrc 314 B

12345678910111213141516
  1. {
  2. "presets": [
  3. ["latest", {
  4. "es2015": { "modules": false }
  5. }],
  6. "stage-2"
  7. ],
  8. "plugins": ["transform-runtime"],
  9. "comments": false,
  10. "env": {
  11. "test": {
  12. "presets": ["latest", "stage-2"],
  13. "plugins": [ "istanbul" ]
  14. }
  15. }
  16. }