2017-08-17 22:00:37 +05:30
|
|
|
{
|
2018-05-09 12:01:36 +05:30
|
|
|
"presets": [["latest", { "es2015": { "modules": false } }], "stage-2"],
|
2017-08-17 22:00:37 +05:30
|
|
|
"env": {
|
2018-10-15 14:42:47 +05:30
|
|
|
"karma": {
|
|
|
|
"plugins": ["rewire"]
|
|
|
|
},
|
2017-08-17 22:00:37 +05:30
|
|
|
"coverage": {
|
|
|
|
"plugins": [
|
2018-05-09 12:01:36 +05:30
|
|
|
[
|
|
|
|
"istanbul",
|
|
|
|
{
|
|
|
|
"exclude": ["spec/javascripts/**/*", "app/assets/javascripts/locale/**/app.js"]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"transform-define",
|
|
|
|
{
|
|
|
|
"process.env.BABEL_ENV": "coverage"
|
|
|
|
}
|
2018-10-15 14:42:47 +05:30
|
|
|
],
|
|
|
|
"rewire"
|
2017-08-17 22:00:37 +05:30
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|