mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
a5e162d475
feature: Update Build pipeline for Babel transpiler
43 lines
834 B
Text
43 lines
834 B
Text
{
|
|
"env": {
|
|
"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"
|
|
]
|
|
},
|
|
"registry": {
|
|
"presets": [
|
|
"es2015-node4", "flow"
|
|
],
|
|
"plugins": [
|
|
"transform-object-rest-spread"
|
|
]
|
|
},
|
|
"development": {
|
|
"presets": ["flow"],
|
|
"plugins": [
|
|
"flow-runtime"
|
|
]
|
|
}
|
|
}
|
|
}
|