chore(xo-remote-parser/build): migrate to Babel 7
This commit is contained in:
parent
3f9e8d79ea
commit
8351352541
3
packages/xo-remote-parser/.babelrc.js
Normal file
3
packages/xo-remote-parser/.babelrc.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
module.exports = require('../../@xen-orchestra/babel-config')(
|
||||||
|
require('./package.json')
|
||||||
|
)
|
@ -27,10 +27,10 @@
|
|||||||
"lodash": "^4.13.1"
|
"lodash": "^4.13.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-cli": "^6.24.1",
|
"@babel/cli": "^7.0.0-beta.49",
|
||||||
|
"@babel/core": "^7.0.0-beta.49",
|
||||||
|
"@babel/preset-env": "^7.0.0-beta.49",
|
||||||
"babel-plugin-lodash": "^3.3.2",
|
"babel-plugin-lodash": "^3.3.2",
|
||||||
"babel-preset-env": "^1.5.2",
|
|
||||||
"babel-preset-stage-3": "^6.24.1",
|
|
||||||
"cross-env": "^5.1.3",
|
"cross-env": "^5.1.3",
|
||||||
"deep-freeze": "^0.0.1",
|
"deep-freeze": "^0.0.1",
|
||||||
"rimraf": "^2.6.1"
|
"rimraf": "^2.6.1"
|
||||||
@ -41,22 +41,5 @@
|
|||||||
"prebuild": "rimraf dist/",
|
"prebuild": "rimraf dist/",
|
||||||
"predev": "yarn run prebuild",
|
"predev": "yarn run prebuild",
|
||||||
"prepare": "yarn run build"
|
"prepare": "yarn run build"
|
||||||
},
|
|
||||||
"babel": {
|
|
||||||
"plugins": [
|
|
||||||
"lodash"
|
|
||||||
],
|
|
||||||
"presets": [
|
|
||||||
[
|
|
||||||
"env",
|
|
||||||
{
|
|
||||||
"targets": {
|
|
||||||
"browsers": "> 5%",
|
|
||||||
"node": 4
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"stage-3"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user