Skip to content

Commit 94604ad

Browse files
committed
Update package.json to set jquery dep as peer dependency
I'm having some issues of duplicated jQuery instances when using jQuery contextMenu with npm 3.x. This works great when jQuery is declared as a peer dependency (and this is the recommended declaration of dependencies for plugins).
1 parent 921729c commit 94604ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "http://www.swis.nl"
88
},
99
"license": "MIT",
10-
"dependencies": {
10+
"peerDependencies": {
1111
"jquery": "^1.8.2"
1212
},
1313
"devDependencies": {

0 commit comments

Comments
 (0)