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",
|
2018-06-03 11:34:41 -05:00
|
|
|
"transform-decorators-legacy",
|
2018-09-24 15:04:37 -05:00
|
|
|
"syntax-dynamic-import",
|
|
|
|
"emotion"
|
2017-10-22 05:28:38 -05:00
|
|
|
]
|
|
|
|
},
|
2017-11-01 11:47:20 -05:00
|
|
|
"test": {
|
2018-04-08 14:05:32 -05:00
|
|
|
"presets": [["env", {
|
|
|
|
"targets": {
|
|
|
|
"node": "6.10"
|
|
|
|
}
|
|
|
|
}], "flow", "react"],
|
|
|
|
"plugins": [
|
|
|
|
"transform-class-properties",
|
2018-08-20 09:29:47 -05:00
|
|
|
"transform-object-rest-spread",
|
2018-09-24 15:04:37 -05:00
|
|
|
"babel-plugin-dynamic-import-node",
|
|
|
|
"emotion"
|
2018-04-08 14:05:32 -05:00
|
|
|
]
|
|
|
|
},
|
2018-06-18 15:58:09 -05:00
|
|
|
"testOldEnv": {
|
2018-04-08 14:05:32 -05:00
|
|
|
"presets": [ "es2015-node4", "flow"],
|
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
|
|
|
]
|
|
|
|
},
|
2018-04-08 14:05:32 -05:00
|
|
|
"registry-docker": {
|
|
|
|
"presets": [
|
|
|
|
["env", {
|
|
|
|
"targets": {
|
2018-06-05 16:08:24 -05:00
|
|
|
"node": "10"
|
2018-04-08 14:05:32 -05:00
|
|
|
}
|
2018-06-05 16:08:24 -05:00
|
|
|
}], "flow"],
|
|
|
|
"plugins": [
|
|
|
|
"transform-object-rest-spread",
|
|
|
|
"transform-class-properties"
|
|
|
|
]
|
2018-04-08 14:05:32 -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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|