diff options
author | 2018-08-28 16:05:48 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:53 +0300 | |
commit | 7e08830d9ed55e77d7242106dcd1c3dd5bc4488b (patch) | |
tree | 6e6953df94a50903d7e729ab5b1178845f770164 /vnext/package.json | |
parent | 97746777c5a9bfec059e2753307062180c08de3a (diff) |
babel 7
Diffstat (limited to 'vnext/package.json')
-rw-r--r-- | vnext/package.json | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/vnext/package.json b/vnext/package.json index 5f9de60e..8df085c1 100644 --- a/vnext/package.json +++ b/vnext/package.json @@ -11,15 +11,16 @@ "author": "", "license": "AGPL-3.0-or-later", "devDependencies": { + "@babel/core": "7.0.0", + "@babel/plugin-proposal-class-properties": "7.0.0", + "@babel/plugin-proposal-object-rest-spread": "7.0.0", + "@babel/preset-env": "7.0.0", + "@babel/preset-react": "7.0.0", "autoprefixer": "^9.1.3", - "babel-core": "^6.26.3", - "babel-eslint": "^8.2.6", + "babel-core": "^7.0.0-bridge.0", + "babel-eslint": "^9.0.0", "babel-jest": "^23.4.2", - "babel-loader": "^7.1.5", - "babel-plugin-transform-class-properties": "^6.24.1", - "babel-plugin-transform-object-rest-spread": "^6.26.0", - "babel-preset-env": "^1.7.0", - "babel-preset-react": "^6.24.1", + "babel-loader": "^8.0.0", "connect-history-api-fallback": "^1.5.0", "css-loader": "^1.0.0", "enzyme": "^3.5.0", @@ -42,7 +43,7 @@ "prop-types": "^15.6.2", "react-router-prop-types": "^1.0.4", "react-test-renderer": "^16.4.2", - "style-loader": "^0.22.1", + "style-loader": "^0.23.0", "webpack": "^4.17.1", "webpack-command": "0.4.1", "webpack-serve": "^2.0.2" @@ -50,21 +51,21 @@ "babel": { "plugins": [ [ - "transform-class-properties", + "@babel/plugin-proposal-class-properties", { "spec": true } ], [ - "transform-object-rest-spread", + "@babel/plugin-proposal-object-rest-spread", { "useBuiltIns": true } ] ], "presets": [ - "env", - "react" + "@babel/preset-env", + "@babel/preset-react" ] }, "dependencies": { |