Skip to content

Commit

Permalink
Describe rnpm install in actions section
Browse files Browse the repository at this point in the history
  • Loading branch information
grabbou committed Feb 11, 2016
1 parent ce6c542 commit c376f8e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ $ rnpm link react-native-module

Source: https://github.com/rnpm/rnpm-plugin-link

#### rnpm install [name]
Automatically instals given package and links it to your project. It's equivalent to running the previous example. It's just instead of running two commands, you can now just:

```bash
$ rnpm install react-native-module
```

Source: https://github.com/rnpm/rnpm-plugin-install

## Advanced usage
If you're authoring an awesome react-native library with custom assets, you probably need an additional step after linking - copying assets to the application folder. Well, that's not complicated: just add `rnpm` section in your `package.json` file:
```json
Expand Down

0 comments on commit c376f8e

Please sign in to comment.