Skip to content

Commit

Permalink
Merge pull request #15 from appwiz/patch-2
Browse files Browse the repository at this point in the history
Add --save to npm commands
  • Loading branch information
richardzcode authored Nov 22, 2017
2 parents 6e04cdd + 41e954d commit fd9b190
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ AWS Amplify is a JavaScript library for frontend and mobile developers building
AWS Amplify is available as the `aws-amplify` package on [npm](https://www.npmjs.com/)

```
npm install aws-amplify
npm install aws-amplify --save
```

If you are developing a [React](https://github.com/facebook/react/) app, you can install an additional package `aws-amplify-react` containing [Higher Order Components](https://reactjs.org/docs/higher-order-components.html):

```
npm install aws-amplify-react
npm install aws-amplify-react --save
```

### React Native Development

For React Native development, install `aws-amplify-react-native` instead of `aws-amplify`

```
npm install aws-amplify-react-native
npm install aws-amplify-react-native --save
```

You will need to [link](https://facebook.github.io/react-native/docs/linking-libraries-ios.html) libraries in your project for the Auth module on React Native. Follow the instructions [here](https://github.com/aws/aws-amplify/blob/master/media/quick_start.md#react-native-development).
Expand Down Expand Up @@ -129,4 +129,4 @@ With configurable settings, store content in an S3 bucket in public folders for
})
.then (result => console.log(result))
.catch(err => console.log(err));
```
```

0 comments on commit fd9b190

Please sign in to comment.