Skip to content

Commit

Permalink
Make react-native-vector-icons a peerDependency
Browse files Browse the repository at this point in the history
  • Loading branch information
brentvatne committed Sep 11, 2016
1 parent fd0b64e commit 6985482
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
14 changes: 10 additions & 4 deletions Readme.MD
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 2 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 6985482

Please sign in to comment.