diff --git a/Readme.MD b/Readme.MD index 93f664fed9..b69f7a69c6 100644 --- a/Readme.MD +++ b/Readme.MD @@ -5,25 +5,31 @@ ## Get Started -#### Step 1 +#### Step 1 Install rnpm if not already installed on your machine `npm install rnpm -g` -####Step 2 +#### Step 2 + +Install react-native-vector-icons (if you do not already have it) + +`npm i react-native-elements --save && rnpm link react-native-vector-icons` + +### Step 3 Install React Native Elements `npm i react-native-elements --save` -Step 3 +### Step 4 Link project `rnpm link` -Step 4 +### Step 5 Start using components diff --git a/package.json b/package.json index 3756f2ce58..ef096cee7c 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,7 @@ "main": "dist/index.js", "scripts": { "build": "babel src --out-dir dist --presets es2015,react", - "watch": "babel src --out-dir dist --watch --presets es2015,react", - "postinstall": "rnpm link react-native-vector-icons" + "watch": "babel src --out-dir dist --watch --presets es2015,react" }, "repository": { "type": "git", @@ -18,14 +17,9 @@ "reactnative", "bootstrap" ], - "dependencies": { + "peerDependencies": { "react-native-vector-icons": "^2.1.0" }, - "rnpm": { - "assets": [ - "Fonts" - ] - }, "devDependencies": { "babel-cli": "^6.11.4", "babel-plugin-transform-object-rest-spread": "^6.8.0",