Changed babel6 to 7

This commit is contained in:
Richard Ramos 2018-08-06 22:29:41 -04:00
parent fb300e7659
commit f61e98f75e
2 changed files with 19 additions and 6 deletions

View File

@ -1,10 +1,14 @@
{ {
"plugins": [ "plugins": [
"transform-object-rest-spread" "@babel/plugin-proposal-object-rest-spread",
], ["@babel/plugin-proposal-decorators", { "legacy": true }],
"presets": [ "@babel/plugin-proposal-function-sent",
"stage-2" "@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-throw-expressions",
["@babel/plugin-proposal-class-properties", { "loose": false }]
], ],
"ignore": [ "ignore": [
"config/", "config/",
"node_modules" "node_modules"

View File

@ -16,8 +16,17 @@
}, },
"homepage": "https://github.com/status-im/contracts#readme", "homepage": "https://github.com/status-im/contracts#readme",
"devDependencies": { "devDependencies": {
"@babel/core": "^7.0.0-beta.56",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.56",
"@babel/plugin-proposal-decorators": "^7.0.0-beta.56",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0-beta.56",
"@babel/plugin-proposal-function-sent": "^7.0.0-beta.56",
"@babel/plugin-proposal-numeric-separator": "^7.0.0-beta.56",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.56",
"@babel/plugin-proposal-throw-expressions": "^7.0.0-beta.56",
"@babel/plugin-syntax-class-properties": "^7.0.0-beta.56",
"@babel/preset-stage-0": "^7.0.0-beta.56",
"babel-eslint": "^8.2.6", "babel-eslint": "^8.2.6",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-stage-2": "^6.24.1", "babel-preset-stage-2": "^6.24.1",
"eslint": "^4.19.1", "eslint": "^4.19.1",
"eslint-config-standard": "^11.0.0", "eslint-config-standard": "^11.0.0",