Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bower.json for bower support #136

Open
mrzmyr opened this issue Oct 7, 2013 · 6 comments
Open

Add bower.json for bower support #136

mrzmyr opened this issue Oct 7, 2013 · 6 comments

Comments

@mrzmyr
Copy link

mrzmyr commented Oct 7, 2013

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
Copy link
Owner

ghusse commented Oct 31, 2013

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

@mrzmyr
Copy link
Author

mrzmyr commented Oct 31, 2013

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
Copy link
Owner

ghusse commented Oct 31, 2013

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
Copy link
Author

mrzmyr commented Nov 2, 2013

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
Copy link
Owner

ghusse commented Dec 4, 2013

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants