Closed schmunk42 closed 4 years ago
Installing jquery-contextmenu from https://github.com/swisnl/jQuery-contextMenu/blob/master/package.json should also install jQuery, but it's listed as peerDependencies.
jquery-contextmenu
peerDependencies
From my understanding they should be treated the same.
Example composer.json:
{ "name": "root/app", "require": { "npm-asset/jquery-contextmenu": "^2.6" }, "repositories": [ { "type": "composer", "url": "https://asset-packagist.org" } ] }
https://stackoverflow.com/questions/18875674/whats-the-difference-between-dependencies-devdependencies-and-peerdependencies
Stale issue message
Installing
jquery-contextmenu
from https://github.com/swisnl/jQuery-contextMenu/blob/master/package.json should also install jQuery, but it's listed aspeerDependencies
.From my understanding they should be treated the same.
Example composer.json: