2018-03-07 14:28:48 +01:00
|
|
|
{
|
|
|
|
"comments": false,
|
|
|
|
"env": {
|
|
|
|
"test": {
|
|
|
|
"presets": [
|
2019-03-25 13:51:24 +01:00
|
|
|
["@babel/preset-env", {
|
2019-11-26 15:04:52 +01:00
|
|
|
"targets": { "node": 10 }
|
2019-04-18 09:37:40 +02:00
|
|
|
}]
|
2018-03-07 14:28:48 +01:00
|
|
|
],
|
2019-04-18 09:15:50 +02:00
|
|
|
"plugins": [
|
|
|
|
"istanbul",
|
|
|
|
"@babel/plugin-proposal-class-properties",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread",
|
|
|
|
"@babel/plugin-transform-runtime"
|
|
|
|
]
|
2018-03-07 14:28:48 +01:00
|
|
|
},
|
|
|
|
"main": {
|
|
|
|
"presets": [
|
2019-03-25 13:51:24 +01:00
|
|
|
["@babel/preset-env", {
|
2019-11-26 15:04:52 +01:00
|
|
|
"targets": { "node": 10 }
|
2019-04-18 09:37:40 +02:00
|
|
|
}]
|
2019-04-18 09:15:50 +02:00
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"@babel/plugin-proposal-class-properties",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread",
|
|
|
|
"@babel/plugin-transform-runtime"
|
2018-03-07 14:28:48 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"renderer": {
|
|
|
|
"presets": [
|
2019-03-25 13:51:24 +01:00
|
|
|
["@babel/preset-env", {
|
|
|
|
"modules": false,
|
2019-11-26 15:04:52 +01:00
|
|
|
"targets": { "electron": "6" }
|
2019-04-18 09:37:40 +02:00
|
|
|
}]
|
2019-04-18 09:15:50 +02:00
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"@babel/plugin-proposal-class-properties",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread",
|
|
|
|
"@babel/plugin-transform-runtime"
|
2018-03-07 14:28:48 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"web": {
|
|
|
|
"presets": [
|
2019-03-25 13:51:24 +01:00
|
|
|
["@babel/preset-env", {
|
2018-03-07 14:28:48 +01:00
|
|
|
"modules": false
|
2019-04-18 09:15:50 +02:00
|
|
|
}]
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"@babel/plugin-proposal-class-properties",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread",
|
|
|
|
"@babel/plugin-transform-runtime"
|
2018-03-07 14:28:48 +01:00
|
|
|
]
|
|
|
|
}
|
2019-03-25 13:51:24 +01:00
|
|
|
}
|
2018-03-07 14:28:48 +01:00
|
|
|
}
|