ScottHamper / Cookies

JavaScript Client-Side Cookie Manipulation Library
The Unlicense
1.77k stars 170 forks source link

Add to Bower #14

Closed jstayton closed 11 years ago

jstayton commented 11 years ago

Hey Scott,

Thanks for the great library! Have you thought about adding it to Bower? I think that would be helpful for a growing number of developers, myself included.

Anyway, just a suggestion. Thanks again!

ScottHamper commented 11 years ago

Hey Justin,

Glad you like the library! I was actually looking at Bower back around March, and discovered that Cookies.js was already in the registry, although I never added it myself. I can't really remember why I never added instructions to the README for using bower, though. Maybe it was just because in order to have Bower, you already need to have npm installed. I don't know.

In any case, to install via Bower:

bower install Cookies

I'll update the README soon. If you have any suggestions for better integration with Bower, let me know. I've only dabbled in it briefly and don't really have any experience with it.

jstayton commented 11 years ago

Oh, look at that! I think I tried bower search cookies, which strangely doesn't return your library. (bower search Cookies does.)

I've seen a few other packages in the registry that didn't appear to be added by the maintainer. I'm not sure how that works or why it's allowed.

Anyway, if you do end up creating your own bower.json and registering the package yourself, my only recommendation would be to add the necessary files/directories to ignore. That way your tests and other unnecessary files aren't pulled down when a developer does bower install Cookies.

Thanks again!