.babelrc 708 B

1234567891011121314151617181920212223242526
  1. {
  2. "env": {
  3. "development": {}
  4. },
  5. "presets": ["stage-0", "es2015"],
  6. "plugins": [
  7. "transform-runtime",
  8. "transform-regenerator",
  9. "transform-decorators-legacy",
  10. "transform-class-properties",
  11. "transform-flow-strip-types",
  12. "syntax-object-rest-spread",
  13. "syntax-decorators",
  14. "syntax-async-functions",
  15. "array-includes",
  16. ["transform-async-to-module-method", {
  17. "module": "bluebird",
  18. "method": "coroutine"
  19. }],
  20. ["babel-plugin-module-resolver", [
  21. { "src": "./src/", "expose": "~" },
  22. { "src": "./test", "expose": "t" }
  23. ]],
  24. "lodash"
  25. ]
  26. }