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": [
|
2018-04-04 16:33:54 -05:00
|
|
|
["env", {
|
|
|
|
"targets": {
|
|
|
|
"node": "6.10"
|
|
|
|
}
|
|
|
|
}], "stage-3", "flow"],
|
2017-10-22 05:28:38 -05:00
|
|
|
"plugins": [
|
2018-04-04 16:33:54 -05:00
|
|
|
"transform-object-rest-spread",
|
|
|
|
"transform-class-properties"
|
2017-10-22 05:28:38 -05:00
|
|
|
]
|
|
|
|
},
|
2017-06-25 13:13:39 -05:00
|
|
|
"development": {
|
|
|
|
"presets": ["flow"],
|
2018-04-04 16:33:54 -05:00
|
|
|
"plugins": ["flow-runtime"]
|
2017-06-25 13:13:39 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|