connors / photon

The fastest way to build beautiful Electron apps using simple HTML and CSS
photonkit.com
MIT License
10.01k stars 579 forks source link

Bower #37

Open mateusdemboski opened 9 years ago

mateusdemboski commented 9 years ago

Hi! could be added in the project a bower.json to facilitate the maintenance of "front-end" dependencies. =)

tks,

developit commented 9 years ago

People still use Bower?

developit commented 9 years ago

I was going to suggest NPM since it's already available there, no need to take offence.

schnti commented 9 years ago

+1

sbruchmann commented 9 years ago

@developit FYI, you can already install Photon via npm by using its repository url:

npm install https://github.com/connors/photon
developit commented 9 years ago

@sbruchmann indeed, or even npm i connors/photon :). It's a pity the photon name is already taken in NPM though :(

knownasilya commented 9 years ago

What about namespaced? npm i @connors/photon

developit commented 9 years ago

@knownasilya yeah, that'd work (as long as nobody is trying to install with npm older than 2.x).

knownasilya commented 9 years ago

In that case, it might be worth mentioning the version of npm required.

knownasilya commented 9 years ago

Or it could be published as photonkit.

developit commented 9 years ago

^ nice, that would actually address #36, too ;)

neodon commented 9 years ago

I accidentally installed the other photon package with npm and was really confused at first. Figured out how to add this one with the git url though. Publishing it on npm (and possibly bower), even under a slightly different name, would be cool. :)

dbpolito commented 9 years ago

:+1: for npm support... i know it's easy to use github url, but i think being at npm main repo it would also help the project popularity...

wong2 commented 9 years ago

photonkit is a nice name

dbpolito commented 9 years ago

indeed, keep the same name across is good, github, npm, site...

mateusdemboski commented 9 years ago

+1 about keep the same name across and using photonkit, now used only on site, is possible registry the package on bower and npm...

pedzed commented 8 years ago

To @sbruchmann and @gligoran: what is your problem? You can provide a bower.json along with a published package.json. I am not sure why you are actively downvoting people wanting Bower support.

sbruchmann commented 8 years ago

@pedzed I wasn’t voting against bower but against the +1-statement of @frankhale since GitHub now supports reactions to comments.

gligoran commented 8 years ago

@pedzed Wasn't actually downvoting people for wanting bower support, but the manner in which @a3bhea commented. This is supposed to be a place where people work together, so no need to be condescending.

pedzed commented 8 years ago

@sbruchmann I agree, people should not spam with +1's. But it's like slapping a child for doing something wrong: the child does not know what it did wrong, you have to explain. On the other hand, I understand that you don't want to add another comment just to say that.

@gligoran I apologize if that's the case. The reason I mentioned you was because you downvoted two or three other comments talking about Bower.

I'm currently using https://github.com/connors/photon/issues/37#issuecomment-148870022's suggestion, but it would be nice if it was registered as an NPM/Bower package of course (preferably both).

If wanted, I'll even provide a bower.json file.