0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/.babelrc
Juan Picado @jotadeveloper a7dd409f1a refactor babel7 (#1164)
* fix: dev dependencies as dep

* refactor: babel 7 migration
2018-12-22 16:11:09 +01:00

68 lines
1.5 KiB
Text

{
"env": {
"ui": {
"presets": [
"@babel/react",
"@babel/flow",
["@babel/env",{
"targets": {
"browsers": [
"last 5 versions",
"FireFox >= 44",
"Safari >= 7",
"Explorer 11",
"last 4 Edge versions"
]
}
}]
],
"plugins": [
"react-hot-loader/babel",
"@babel/transform-runtime",
"@babel/proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread",
"@babel/syntax-dynamic-import",
"emotion"
]
},
"test": {
"presets": [["@babel/env", {
"targets": {
"node": "6.10"
}
}], "@babel/flow",
"@babel/react"],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread",
"babel-plugin-dynamic-import-node",
"emotion"
]
},
"registry": {
"presets": [
["@babel/env", {
"targets": {
"node": "6.10"
}
}], "@babel/flow"],
"plugins": [
"@babel/plugin-proposal-object-rest-spread",
"@babel/proposal-class-properties"
]
},
"registry-docker": {
"presets": [
["@babel/env", {
"targets": {
"node": "10"
}
}],
"@babel/flow"],
"plugins": [
"@babel/plugin-proposal-object-rest-spread",
"@babel/proposal-class-properties"
]
}
}
}