Skip to content

Commit

Permalink
Include bcrypt in dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
venables committed Feb 20, 2017
1 parent 3bb3e0e commit 02a7bca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,15 @@ A Bookshelf.js plugin for securely handling passwords.
## Installation

```
yarn add bookshelf-secure-password bcrypt
yarn add bookshelf-secure-password
```

or

```
npm install bookshelf-secure-password bcrypt --save
npm install bookshelf-secure-password --save
```

*NOTE:* The `bcrypt` module is a peerDependency, and should be manually added to your project.

## Usage

1. Enable the plugin in your Bookshelf setup
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@
]
},
"homepage": "https://github.com/venables/bookshelf-secure-password#readme",
"peerDependencies": {
"dependencies": {
"bcrypt": "^1.0.2"
},
"devDependencies": {
"bcrypt": "^1.0.2",
"bookshelf": "^0.10.3",
"chai": "^3.5.0",
"coveralls": "^2.11.16",
Expand Down

0 comments on commit 02a7bca

Please sign in to comment.