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": {