From b7a708ac24bd1207a183b085fe59803e485b935e Mon Sep 17 00:00:00 2001 From: Sheng Di Date: Mon, 15 Jan 2018 16:34:38 -0800 Subject: [PATCH] [patch] update component generator (#681) --- packages/electrode-archetype-react-app-dev/package.json | 2 +- .../config/babel/.babelrc | 1 - .../component/templates/packages/component/_package.json | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/electrode-archetype-react-app-dev/package.json b/packages/electrode-archetype-react-app-dev/package.json index 46ec8d19a..f6bb941b4 100644 --- a/packages/electrode-archetype-react-app-dev/package.json +++ b/packages/electrode-archetype-react-app-dev/package.json @@ -112,7 +112,7 @@ "web-app-manifest-loader": "^0.1.1", "webpack": "^3.6.0", "webpack-config-composer": "^1.0.2", - "webpack-dev-server": "2.5.1", + "webpack-dev-server": "^2.5.1", "webpack-disk-plugin": "0.0.2", "webpack-stats-plugin": "^0.1.1", "winston": "^2.3.1", diff --git a/packages/electrode-archetype-react-component-dev/config/babel/.babelrc b/packages/electrode-archetype-react-component-dev/config/babel/.babelrc index 7ea98ced3..f86e0f058 100644 --- a/packages/electrode-archetype-react-component-dev/config/babel/.babelrc +++ b/packages/electrode-archetype-react-component-dev/config/babel/.babelrc @@ -1,6 +1,5 @@ { "presets": [ - "es2015", ["env", { "loose": true }], "react" ], diff --git a/packages/generator-electrode/component/templates/packages/component/_package.json b/packages/generator-electrode/component/templates/packages/component/_package.json index a93e89f39..043714dca 100644 --- a/packages/generator-electrode/component/templates/packages/component/_package.json +++ b/packages/generator-electrode/component/templates/packages/component/_package.json @@ -17,8 +17,8 @@ "homepage": "https://github.com/<%= packageGitHubOrg %>/<%= ghRepo %>", "dependencies": {}, "devDependencies": { - "electrode-archetype-react-component": "^4.0.0", - "electrode-archetype-react-component-dev": "^4.0.0" + "electrode-archetype-react-component": "^5.0.0", + "electrode-archetype-react-component-dev": "^5.0.0" }, "engines": { "node": ">= 4",