summaryrefslogtreecommitdiff
path: root/.babelrc
blob: 2bae7ca9fbf1d984f0ae1751c0fcb3059c639fb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  "presets": [
    ["latest", { "es2015": { "modules": false } }],
    "stage-2"
  ],
  "env": {
    "coverage": {
      "plugins": [
        ["istanbul", {
          "exclude": [
            "spec/javascripts/**/*"
          ]
        }],
        ["transform-define", {
          "process.env.BABEL_ENV": "coverage"
        }]
      ]
    }
  }
}