catarse/catarse.js

View on GitHub
.babelrc

Summary

Maintainability
Test Coverage
{
  "presets": [
    "@babel/preset-typescript",
    [
      "@babel/preset-env",
      {
        "useBuiltIns": "entry",
        "targets": {
          "chrome": "40",
          "ie": "11"
        }
      }
    ]
  ],
  "plugins": [
    "@babel/plugin-transform-typescript",
    [
      "@babel/plugin-transform-react-jsx",
      {
        "pragma": "m",
        "pragmaFrag": "'['"
      }
    ],
    [
      "@babel/plugin-transform-runtime", 
      { 
        "corejs" : 3,
        "regenerator": true,
        "useESModules": false
      }
    ],
    "@babel/plugin-transform-parameters",
    "@babel/plugin-syntax-async-generators",
    ["@babel/plugin-transform-for-of", {
      "assumeArray": true // defaults to false
    }],
    "@babel/plugin-transform-classes",
    "@babel/plugin-transform-destructuring",
    "@babel/plugin-proposal-class-properties",
    "@babel/plugin-proposal-object-rest-spread",
    "@babel/plugin-transform-shorthand-properties",
    "@babel/plugin-transform-eval"
  ]
}