2017-11-27 07:15:09 +01:00
|
|
|
{
|
2017-06-25 20:13:39 +02:00
|
|
|
"env": {
|
2017-10-22 12:28:38 +02:00
|
|
|
"ui": {
|
|
|
|
"presets": [
|
|
|
|
"react",
|
|
|
|
["env",{
|
|
|
|
"targets": {
|
|
|
|
"browsers": [
|
|
|
|
"last 5 versions",
|
|
|
|
"FireFox >= 44",
|
|
|
|
"Safari >= 7",
|
|
|
|
"Explorer 11",
|
|
|
|
"last 4 Edge versions"
|
|
|
|
],
|
|
|
|
"loose": true
|
|
|
|
}
|
|
|
|
}],
|
|
|
|
"stage-2",
|
|
|
|
"stage-3"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"react-hot-loader/babel",
|
|
|
|
"transform-runtime",
|
|
|
|
"transform-object-rest-spread",
|
|
|
|
"transform-decorators-legacy"
|
|
|
|
]
|
|
|
|
},
|
2017-11-01 17:47:20 +01:00
|
|
|
"test": {
|
2017-12-03 13:07:17 +01:00
|
|
|
"presets": [ "es2015-node4", "stage-2", "stage-3", "flow", "react"],
|
2017-11-01 17:47:20 +01:00
|
|
|
"plugins": [
|
2017-11-27 07:15:09 +01:00
|
|
|
"transform-class-properties",
|
2017-12-03 11:14:17 +01:00
|
|
|
"transform-object-rest-spread"
|
2017-11-01 17:47:20 +01:00
|
|
|
]
|
|
|
|
},
|
2017-10-22 12:28:38 +02:00
|
|
|
"registry": {
|
|
|
|
"presets": [
|
|
|
|
"es2015-node4", "flow"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"transform-object-rest-spread"
|
|
|
|
]
|
|
|
|
},
|
2017-06-25 20:13:39 +02:00
|
|
|
"development": {
|
|
|
|
"presets": ["flow"],
|
|
|
|
"plugins": [
|
|
|
|
"flow-runtime"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|