passy / angular-masonry

An AngularJS directive for Masonry.
https://passy.github.io/angular-masonry
MIT License
1.12k stars 216 forks source link

add karma as dependency for npm@3 compatibility #162

Closed jodytate closed 8 years ago

jodytate commented 8 years ago

With npm@3, peer dependencies are no longer installed by default.

We won’t be automatically downloading the peer dependency anymore. Instead, we’ll warn you if the peer dependency isn’t already installed. http://blog.npmjs.org/post/110924823920/npm-weekly-5

This change, then, adds karma as a dependency so it'll install when running npm install. Otherwise you'll see:

npm WARN grunt-karma@0.12.1 requires a peer of karma@^0.13.0 || >= 0.14.0-rc.0 but none was installed.