Skip to content

Commit

Permalink
Fix Knockout-Contrib#528 - use peerDependencies for npm package depen…
Browse files Browse the repository at this point in the history
…dencies

Knockout-Validation may not decorate the correct instance of Knockout
when used with node.js due to improper way of specifying dependencies.
  • Loading branch information
crissdev committed Jan 28, 2015
1 parent a6931af commit 1a784bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "A KnockoutJS Plugin for model and property validation",
"main": "dist/knockout.validation.js",
"files": ["dist", "localization", "CONTRIBUTING.md"],
"dependencies": {
"peerDependencies": {
"knockout": ">=2.3.0"
},
"devDependencies": {
Expand Down

0 comments on commit 1a784bf

Please sign in to comment.