From 2ce770fd22aa542a83f798a39d1d8ee08641926a Mon Sep 17 00:00:00 2001
From: Aryan Koul <aryankoul10@gmail.com>
Date: Tue, 26 Mar 2019 02:25:50 +0530
Subject: [PATCH] [CHORE] Added Storybook documentation (#757)

---
 .expo/packager-info.json |  5 -----
 .expo/settings.json      |  9 ---------
 README.md                | 23 ++++++++++++++++++++++-
 package.json             |  1 -
 4 files changed, 22 insertions(+), 16 deletions(-)
 delete mode 100644 .expo/packager-info.json
 delete mode 100644 .expo/settings.json

diff --git a/.expo/packager-info.json b/.expo/packager-info.json
deleted file mode 100644
index 24e8ec399..000000000
--- a/.expo/packager-info.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
-  "expoServerPort": null,
-  "packagerPort": null,
-  "packagerPid": null
-}
\ No newline at end of file
diff --git a/.expo/settings.json b/.expo/settings.json
deleted file mode 100644
index 5eee78b49..000000000
--- a/.expo/settings.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
-  "hostType": "tunnel",
-  "lanType": "ip",
-  "dev": true,
-  "strict": false,
-  "minify": false,
-  "urlType": "exp",
-  "urlRandomness": null
-}
\ No newline at end of file
diff --git a/README.md b/README.md
index 65a9a803d..f1728a571 100644
--- a/README.md
+++ b/README.md
@@ -213,4 +213,25 @@ $ detox build --configuration ios.sim.release
 
 ```bash
 $ detox test --configuration ios.sim.release
-```
\ No newline at end of file
+```
+
+## Storybook
+- Open index.js
+
+- Uncomment following line
+
+```bash
+import './storybook';
+```
+
+- Comment out following lines
+```bash
+import './app/ReactotronConfig';
+import { AppRegistry } from 'react-native';
+import App from './app/index';
+import { name as appName } from './app.json';
+
+AppRegistry.registerComponent(appName, () => App);
+```
+
+- Start your application again
\ No newline at end of file
diff --git a/package.json b/package.json
index cc9f73f5c..73b6dad95 100644
--- a/package.json
+++ b/package.json
@@ -11,7 +11,6 @@
     "ios": "react-native run-ios",
     "log-android": "react-native log-android",
     "android": "react-native run-android",
-    "storybook": "storybook start -p 7007 | react-native start --projectRoot storybook",
     "snyk-protect": "snyk protect"
   },
   "rnpm": {
-- 
GitLab