Skip to content

Commit

Permalink
fix: move to babel.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jimthedev committed Apr 7, 2020
1 parent 7642f05 commit 9ae386c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
13 changes: 13 additions & 0 deletions babel.config.js
@@ -0,0 +1,13 @@
module.exports = {
presets: [
[
"@babel/preset-env",
{
targets: {
node: "10",
},
},
],
],
plugins: ["@babel/plugin-proposal-object-rest-spread", "istanbul"],
};
16 changes: 0 additions & 16 deletions package.json
Expand Up @@ -88,22 +88,6 @@
"strip-bom": "4.0.0",
"strip-json-comments": "3.0.1"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "10"
}
}
]
],
"plugins": [
"@babel/plugin-proposal-object-rest-spread",
"istanbul"
]
},
"nyc": {
"extends": "@istanbuljs/nyc-config-babel",
"exclude": [
Expand Down

0 comments on commit 9ae386c

Please sign in to comment.