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",
|
2018-06-03 18:34:41 +02:00
|
|
|
"transform-decorators-legacy",
|
|
|
|
"syntax-dynamic-import"
|
2017-10-22 12:28:38 +02:00
|
|
|
]
|
|
|
|
},
|
2017-11-01 17:47:20 +01:00
|
|
|
"test": {
|
2018-04-08 21:05:32 +02:00
|
|
|
"presets": [["env", {
|
|
|
|
"targets": {
|
|
|
|
"node": "6.10"
|
|
|
|
}
|
|
|
|
}], "flow", "react"],
|
|
|
|
"plugins": [
|
|
|
|
"transform-class-properties",
|
|
|
|
"transform-object-rest-spread"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"testE2E": {
|
|
|
|
/** for an issue on puppeteer env we need to use es2015-node4 **/
|
|
|
|
"presets": [ "es2015-node4", "flow"],
|
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": [
|
2018-04-04 23:33:54 +02:00
|
|
|
["env", {
|
|
|
|
"targets": {
|
|
|
|
"node": "6.10"
|
|
|
|
}
|
|
|
|
}], "stage-3", "flow"],
|
2017-10-22 12:28:38 +02:00
|
|
|
"plugins": [
|
2018-04-04 23:33:54 +02:00
|
|
|
"transform-object-rest-spread",
|
|
|
|
"transform-class-properties"
|
2017-10-22 12:28:38 +02:00
|
|
|
]
|
|
|
|
},
|
2018-04-08 21:05:32 +02:00
|
|
|
"registry-docker": {
|
|
|
|
"presets": [
|
|
|
|
["env", {
|
|
|
|
"targets": {
|
2018-06-05 23:08:24 +02:00
|
|
|
"node": "10"
|
2018-04-08 21:05:32 +02:00
|
|
|
}
|
2018-06-05 23:08:24 +02:00
|
|
|
}], "flow"],
|
|
|
|
"plugins": [
|
|
|
|
"transform-object-rest-spread",
|
|
|
|
"transform-class-properties"
|
|
|
|
]
|
2018-04-08 21:05:32 +02:00
|
|
|
},
|
2017-06-25 20:13:39 +02:00
|
|
|
"development": {
|
|
|
|
"presets": ["flow"],
|
2018-04-04 23:33:54 +02:00
|
|
|
"plugins": ["flow-runtime"]
|
2017-06-25 20:13:39 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|