From 1b28e2d59a49f6c76b201bfb0648576b2adbb32e Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 9 Feb 2017 13:22:26 +0100 Subject: use babel-preset-env (#1645) --- server/sonar-web/package.json | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'server/sonar-web/package.json') diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json index 6de695caba3..1a993a9e742 100644 --- a/server/sonar-web/package.json +++ b/server/sonar-web/package.json @@ -5,7 +5,7 @@ "repository": "SonarSource/sonarqube", "license": "LGPL-3.0", "dependencies": { - "babel-polyfill": "6.3.14", + "babel-polyfill": "^6.22.0", "backbone": "1.2.3", "backbone.marionette": "2.4.3", "blueimp-md5": "1.1.1", @@ -36,11 +36,17 @@ }, "devDependencies": { "autoprefixer": "6.4.1", - "babel-core": "6.14.0", + "babel-core": "^6.22.1", "babel-eslint": "6.1.2", "babel-jest": "^18.0.0", - "babel-loader": "6.2.5", - "babel-preset-react-app": "0.2.1", + "babel-loader": "^6.2.10", + "babel-plugin-transform-class-properties": "^6.22.0", + "babel-plugin-transform-object-rest-spread": "^6.22.0", + "babel-plugin-transform-react-constant-elements": "^6.22.0", + "babel-plugin-transform-react-jsx-self": "^6.22.0", + "babel-plugin-transform-react-jsx-source": "^6.22.0", + "babel-preset-env": "^1.1.8", + "babel-preset-react": "^6.22.0", "case-sensitive-paths-webpack-plugin": "1.1.4", "chalk": "1.1.3", "connect-history-api-fallback": "1.3.0", @@ -98,7 +104,7 @@ "validate": "eslint src/main/js && flow check src/main/js && CI=1 node scripts/test.js" }, "engines": { - "node": ">=4" + "node": ">=6" }, "jest": { "coverageDirectory": "/target/coverage", @@ -127,13 +133,5 @@ "/src/main/webapp", "/scripts" ] - }, - "babel": { - "presets": [ - "react-app" - ], - "ignore": [ - "**/libs/**" - ] } } -- cgit v1.2.3