diff options
author | Stas Vilchik <stas-vilchik@users.noreply.github.com> | 2017-02-09 13:22:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-09 13:22:26 +0100 |
commit | 1b28e2d59a49f6c76b201bfb0648576b2adbb32e (patch) | |
tree | 1869c119312fca79cf09d2dfd57ce965266d4af5 /server/sonar-web/package.json | |
parent | 979b2d26852ccf62252fc8590914eec3fb29dfd9 (diff) | |
download | sonarqube-1b28e2d59a49f6c76b201bfb0648576b2adbb32e.tar.gz sonarqube-1b28e2d59a49f6c76b201bfb0648576b2adbb32e.zip |
use babel-preset-env (#1645)
Diffstat (limited to 'server/sonar-web/package.json')
-rw-r--r-- | server/sonar-web/package.json | 24 |
1 files changed, 11 insertions, 13 deletions
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": "<rootDir>/target/coverage", @@ -127,13 +133,5 @@ "<rootDir>/src/main/webapp", "<rootDir>/scripts" ] - }, - "babel": { - "presets": [ - "react-app" - ], - "ignore": [ - "**/libs/**" - ] } } |