0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/.babelrc

80 lines
1.7 KiB
Text
Raw Normal View History

2017-11-27 01:15:09 -05:00
{
"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",
"syntax-dynamic-import",
"emotion"
]
},
2017-11-01 11:47:20 -05:00
"test": {
"presets": [["env", {
"targets": {
"node": "6.10"
}
}], "flow", "react"],
"plugins": [
"transform-class-properties",
"transform-object-rest-spread",
"babel-plugin-dynamic-import-node",
"emotion"
]
},
"testOldEnv": {
"presets": [ "es2015-node4", "flow"],
2017-11-01 11:47:20 -05:00
"plugins": [
2017-11-27 01:15:09 -05:00
"transform-class-properties",
"transform-object-rest-spread"
2017-11-01 11:47:20 -05:00
]
},
"registry": {
"presets": [
["env", {
"targets": {
"node": "6.10"
}
}], "stage-3", "flow"],
"plugins": [
"transform-object-rest-spread",
"transform-class-properties"
]
},
"registry-docker": {
"presets": [
["env", {
"targets": {
"node": "10"
}
}], "flow"],
"plugins": [
"transform-object-rest-spread",
"transform-class-properties"
]
},
"development": {
"presets": ["flow"],
"plugins": ["flow-runtime"]
}
}
}