From 02a7bcaa7b276f957fef55cdf1092ce8ef064f96 Mon Sep 17 00:00:00 2001 From: Matt Venables Date: Mon, 20 Feb 2017 14:50:00 -0500 Subject: [PATCH] Include bcrypt in dependencies --- README.md | 6 ++---- package.json | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ee93bff..b963b5f 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index 8d98a35..e0c5619 100644 --- a/package.json +++ b/package.json @@ -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",