Skip to content

Commit

Permalink
Agent, Finance: update babel configuration (#1154)
Browse files Browse the repository at this point in the history
  • Loading branch information
sohkai authored and ßingen committed Jun 15, 2020
1 parent 4121234 commit a6a3995
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 15 deletions.
8 changes: 5 additions & 3 deletions apps/agent/app/.babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
"@babel/preset-env",
{
"modules": false,
"useBuiltIns": false
"useBuiltIns": "entry",
"core-js": 3,
"shippedProposals": true,
}
]
],
"@babel/preset-react"
],
"plugins": [
["styled-components", { "displayName": true }],
"@babel/plugin-proposal-class-properties"
]
}
9 changes: 4 additions & 5 deletions apps/agent/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@aragon/api-react": "^2.0.0-beta.9",
"@aragon/templates-tokens": "^1.2.0",
"@aragon/ui": "^1.3.0",
"@babel/polyfill": "^7.0.0",
"@babel/polyfill": "^7.8.3",
"date-fns": "2.0.0-alpha.22",
"file-saver": "^2.0.2",
"prop-types": "^15.7.2",
Expand All @@ -20,10 +20,9 @@
"web3-utils": "^1.2.0"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"@babel/core": "^7.10.2",
"@babel/preset-env": "^7.10.2",
"@babel/preset-react": "^7.10.1",
"babel-eslint": "^10.0.1",
"babel-plugin-styled-components": "^1.7.1",
"eslint": "^5.6.0",
Expand Down
8 changes: 5 additions & 3 deletions apps/finance/app/.babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
"@babel/preset-env",
{
"modules": false,
"useBuiltIns": false
"useBuiltIns": "entry",
"core-js": 3,
"shippedProposals": true,
}
]
],
"@babel/preset-react"
],
"plugins": [
["styled-components", { "displayName": true }],
"@babel/plugin-proposal-class-properties"
]
}
7 changes: 3 additions & 4 deletions apps/finance/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@
"web3-utils": "^1.0.0-beta.30"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"@babel/core": "^7.10.2",
"@babel/preset-env": "^7.10.2",
"@babel/preset-react": "^7.10.1",
"babel-eslint": "^10.0.1",
"babel-plugin-styled-components": "^1.10.7",
"eslint": "^5.6.0",
Expand Down

0 comments on commit a6a3995

Please sign in to comment.