devmark / angular-slick-carousel

Angular directive for slick-carousel
http://devmark.github.io/angular-slick-carousel/
MIT License
353 stars 125 forks source link

Add "dependencies" to package,json #139

Open DmitryGonchar opened 6 years ago

DmitryGonchar commented 6 years ago

When installing angular-slick-carousel via yarn (bower is deprecated), its dependencies (slick-carousel and angular) are not installed.

This can be fixed by adding dependencies: section to package.json, same as it is in bower.json

"dependencies": {
    "slick-carousel": "~1.6.0",
    "angular": ">=1.3.0"
},

If you have build automation step, updating dependency in bower.json should ideally auto-update it in package.json, so that they are always the same