Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --save to npm commands #15

Merged
merged 1 commit into from
Nov 22, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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));
```
```