ghusse / jQRangeSlider

A jquery UI range selection slider that supports dates
http://ghusse.github.com/jQRangeSlider/
GNU General Public License v3.0
670 stars 147 forks source link

Add bower.json for bower support #136

Open mrzmyr opened 10 years ago

mrzmyr commented 10 years ago

It would be great to have a bower.json (define a package) in the repo for bower support and also register it in the collection of repos.

This avoids to clone the whole repo as dependency in bower (which is highly discussed here).

ghusse commented 10 years ago

I'm not using bower, I'll be glad if someone else could do it and check it works as expected.

mrzmyr commented 10 years ago

Here is my fork, this would be a valid bower.json (the paths have be aligned) https://github.com/mrzmyr/jQRangeSlider/blob/master/bower.json

ghusse commented 10 years ago

Thanks for your work!

Just a question: where do the minified versions of js files come from? They are not pushed in the repo, and they are the result of a grunt script. How does it work?

mrzmyr commented 10 years ago

I pushed them in there to handle them easily after a bower install. There are a lot of discussions about this topic and the specs:

ghusse commented 10 years ago

That's why I don't want to suport bower at this time: I don't want to add minified files in my git repo.

ncoquelet commented 9 years ago

Hi guys, I'm trying JQRangeSlider and good job for your great lib.

We also use bower for our dependencies and a lot of js libs include a dist dir with final js and minified js. But if you really don't want push a dist dir in your dev repo, others libs generaly create a separate dist repo with js, min.js, css and bower.json.

Regards