From 1f9b765f8159216ca7696a0d818acfef7d1e4aff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ordon?= Date: Fri, 23 Sep 2016 11:47:51 -0700 Subject: [PATCH] Remove rnpm references in favour of react-native Summary: No need for the references now that rnpm is baked into core. Closes https://github.com/facebook/react-native/pull/10069 Differential Revision: D3914945 fbshipit-source-id: bdf9aac03a6544bec1f18b9a80f26638ee508e16 --- docs/LinkingLibraries.md | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/docs/LinkingLibraries.md b/docs/LinkingLibraries.md index 8b86331d0..b4e18d6fa 100644 --- a/docs/LinkingLibraries.md +++ b/docs/LinkingLibraries.md @@ -27,32 +27,21 @@ error as soon as you try to use the library._ ### Automatic linking -"[rnpm](http://github.com/rnpm/rnpm)" is a community project that allows linking of native dependencies automatically: - #### Step 1 -Install `rnpm`: -```bash -$ npm install rnpm -g -``` - -**Note:** _`rnpm` requires `node` version 4.1 or higher_ - -#### Step 2 - Install a library with native dependencies: ```bash $ npm install --save ``` -**Note:** _`--save` or `--save-dev` flag is very important for this step. `rnpm` will link +**Note:** _`--save` or `--save-dev` flag is very important for this step. React Native will link your libs based on `dependencies` and `devDependencies` in your `package.json` file._ -#### Step 3 +#### Step 2 Link your native dependencies: ```bash -$ rnpm link +$ react-native link ``` Done! All libraries with a native dependencies should be successfully linked to your iOS/Android project.