From b57ee79325e91b4ada4afefdb5cb7365700c68ed Mon Sep 17 00:00:00 2001 From: Tan Khay Ong Date: Thu, 12 Oct 2017 10:05:39 +0800 Subject: [PATCH] [minor][bug] unable to launch sample program. (#609) --- samples/stylus-sample/package.json | 4 +++- samples/universal-material-ui/package.json | 2 ++ samples/universal-react-node/package.json | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/samples/stylus-sample/package.json b/samples/stylus-sample/package.json index 1ae6f9be2..5576357f5 100644 --- a/samples/stylus-sample/package.json +++ b/samples/stylus-sample/package.json @@ -41,7 +41,9 @@ "electrode-redux-router-engine": "../../packages/electrode-redux-router-engine", "electrode-server": "^1.0.0", "electrode-static-paths": "^1.0.0", - "lodash": "^4.10.1" + "lodash": "^4.10.1", + "react": "^15.0.0", + "react-dom": "^15.0.0" }, "devDependencies": { "electrode-archetype-react-app-dev": "../../packages/electrode-archetype-react-app-dev" diff --git a/samples/universal-material-ui/package.json b/samples/universal-material-ui/package.json index f8fb87e5c..6a27a790e 100644 --- a/samples/universal-material-ui/package.json +++ b/samples/universal-material-ui/package.json @@ -43,6 +43,8 @@ "electrode-static-paths": "^1.0.0", "lodash": "^4.10.1", "material-ui": "^0.16.4", + "react": "^15.0.0", + "react-dom": "^15.0.0", "react-tap-event-plugin": "^2.0.0" }, "devDependencies": { diff --git a/samples/universal-react-node/package.json b/samples/universal-react-node/package.json index f2b57d957..e9276b909 100644 --- a/samples/universal-react-node/package.json +++ b/samples/universal-react-node/package.json @@ -42,6 +42,8 @@ "es6-promise": "^4.0.5", "isomorphic-fetch": "^2.2.1", "mongojs": "^2.4.0", + "react": "^15.0.0", + "react-dom": "^15.0.0", "react-notify-toast": "^0.1.3", "uuid": "^3.0.1" },