2017-11-27 01:15:09 -05:00
|
|
|
{
|
2017-06-25 13:13:39 -05:00
|
|
|
"env": {
|
2017-10-22 05:28:38 -05: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 11:47:20 -05:00
|
|
|
"test": {
|
2017-12-03 07:07:17 -05:00
|
|
|
"presets": [ "es2015-node4", "stage-2", "stage-3", "flow", "react"],
|
2017-11-01 11:47:20 -05:00
|
|
|
"plugins": [
|
2017-11-27 01:15:09 -05:00
|
|
|
"transform-class-properties",
|
2017-12-03 05:14:17 -05:00
|
|
|
"transform-object-rest-spread"
|
2017-11-01 11:47:20 -05:00
|
|
|
]
|
|
|
|
},
|
2017-10-22 05:28:38 -05:00
|
|
|
"registry": {
|
|
|
|
"presets": [
|
|
|
|
"es2015-node4", "flow"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"transform-object-rest-spread"
|
|
|
|
]
|
|
|
|
},
|
2017-06-25 13:13:39 -05:00
|
|
|
"development": {
|
|
|
|
"presets": ["flow"],
|
|
|
|
"plugins": [
|
|
|
|
"flow-runtime"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|