Skip to content

Commit

Permalink
[CHORE] Added Storybook documentation (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
aryankoul authored and diegolmello committed Mar 25, 2019
1 parent 5771757 commit 2ce770f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 16 deletions.
5 changes: 0 additions & 5 deletions .expo/packager-info.json

This file was deleted.

9 changes: 0 additions & 9 deletions .expo/settings.json

This file was deleted.

23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,25 @@ $ detox build --configuration ios.sim.release
```bash
$ detox test --configuration ios.sim.release
```
```
## 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
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 2ce770f

Please sign in to comment.