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