mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-13 22:48:31 -05:00
chore: update babel to transpile for above node6
This commit is contained in:
parent
6a5acd2c43
commit
30e1941771
1 changed files with 8 additions and 6 deletions
14
.babelrc
14
.babelrc
|
@ -34,17 +34,19 @@
|
||||||
},
|
},
|
||||||
"registry": {
|
"registry": {
|
||||||
"presets": [
|
"presets": [
|
||||||
"es2015-node4", "flow"
|
["env", {
|
||||||
],
|
"targets": {
|
||||||
|
"node": "6.10"
|
||||||
|
}
|
||||||
|
}], "stage-3", "flow"],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"transform-object-rest-spread"
|
"transform-object-rest-spread",
|
||||||
|
"transform-class-properties"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"development": {
|
"development": {
|
||||||
"presets": ["flow"],
|
"presets": ["flow"],
|
||||||
"plugins": [
|
"plugins": ["flow-runtime"]
|
||||||
"flow-runtime"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue