Skip to content

Commit

Permalink
Convert to peer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ivank committed Apr 4, 2017
1 parent 08ac7bf commit 64abf93
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 17 deletions.
4 changes: 3 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
"prefer-const": "warn",

// keep it simple
"complexity": [ "warn", 10 ]
"complexity": [ "warn", 10 ],

"import/no-extraneous-dependencies": "off"
}
}
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
{
"name": "mongoose-subscriptions-braintree",
"version": "1.1.1",
"version": "1.1.2",
"description": "Braintree processor for mongoose-subscriptions",
"main": "src/index.js",
"repository": "[email protected]:enhancv/mongoose-subscriptions-braintree.git",
"author": "Ivan Kerin <[email protected]>",
"license": "MIT",
"dependencies": {
"braintree": "^2.0.2",
"lodash": "^4.17.4",
"mongoose-subscriptions": "^1.1.0"
"lodash": "^4.17.4"
},
"scripts": {
"lint": "node node_modules/eslint/bin/eslint src",
"coverage": "node node_modules/istanbul/lib/cli cover node_modules/mocha/bin/_mocha -- --recursive",
"test": "node node_modules/mocha/bin/mocha --recursive"
},
"peerDependencies": {
"mongoose-subscriptions": "^1.2"
},
"devDependencies": {
"mongoose": "^4.8",
"mongoose-subscriptions": "^1.2.2",
"dotenv": "^4.0.0",
"eslint": "^3.18.0",
"eslint-config-airbnb-base": "^11.1.1",
Expand Down
23 changes: 10 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -937,23 +937,20 @@ [email protected]:
mongodb-core "2.1.9"
readable-stream "2.1.5"

mongoose-originals@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/mongoose-originals/-/mongoose-originals-1.0.0.tgz#2fda7cebc64831e684dc35d7f7294fb7cf69e81e"
dependencies:
mongoose "^4.8.4"
mongoose-originals@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/mongoose-originals/-/mongoose-originals-1.0.1.tgz#bd8c94cd87da474c64b303dee62e56c3f158df38"

mongoose-subscriptions@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/mongoose-subscriptions/-/mongoose-subscriptions-1.1.0.tgz#312314726fb9274797ff4a2e413791dde3b6201a"
mongoose-subscriptions@^1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/mongoose-subscriptions/-/mongoose-subscriptions-1.2.2.tgz#1739a6dd2de5978cf9ca962f22684f2c8c06d1dc"
dependencies:
mongoose "^4.8.4"
mongoose-originals "^1.0.0"
mongoose-originals "^1.0.1"
shortid "^2.2.8"

mongoose@^4.8.4:
version "4.9.1"
resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-4.9.1.tgz#e621d9e7356f46d1e39980a71063857405fa9099"
mongoose@^4.8:
version "4.9.3"
resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-4.9.3.tgz#7e3ea176ed7d3d23940368704834890595aea040"
dependencies:
async "2.1.4"
bson "~1.0.4"
Expand Down

0 comments on commit 64abf93

Please sign in to comment.