mathiasbynens / jquery-placeholder

A jQuery plugin that enables HTML5 placeholder behavior for browsers that aren’t trying hard enough yet
https://mths.be/placeholder
MIT License
3.98k stars 1.34k forks source link

add package.json for npm #158

Closed feross closed 10 years ago

feross commented 10 years ago

Ping. Let's merge this!

ljharb commented 10 years ago

+1

mlms13 commented 10 years ago

:+1:

callumacrae commented 10 years ago

:+1:

mischah commented 10 years ago

:-1: npm is for node module. Bower is the place to be.

callumacrae commented 10 years ago

@mischah Since when has npm just been for node modules? jQuery is on npm. Last time I looked, of the top 15 trending JS repos, only 3 of them weren't on npm, and one of the ones that was is a UI library for AngularJS.

It can (and should) be on both Bower and npm.

feross commented 10 years ago

Get with the times, brah! npm is for all JavaScript!

On Tuesday, August 26, 2014, Callum Macrae notifications@github.com wrote:

@mischah https://github.com/mischah Since when has npm just been for node modules? jQuery is on npm https://github.com/jquery/jquery/blob/master/package.json. Last time I looked, of the top 15 trending JS repos, only 3 of them weren't on GitHub, and one of the ones that was is a UI library for AngularJS. https://github.com/angular/material

It can (and should) be on both Bower and npm.

— Reply to this email directly or view it on GitHub https://github.com/mathiasbynens/jquery-placeholder/pull/158#issuecomment-53416092 .

Feross | blog http://feross.org/ | webtorrent http://webtorrent.io/ | studynotes http://www.apstudynotes.org/

mischah commented 10 years ago

Just my two cents. No hating involved.

ljharb commented 10 years ago

Bower adds virtually nothing that npm doesn't have in spades. npm is for node-packaged modules, which don't even have to be javascript.

My vote would be to have it only on npm, but "also" is OK too.

feross commented 10 years ago

It's been over a year, I suppose this won't be merged. Disappointed.

Closing this issue.

feross commented 10 years ago

For what it's worth, you can depend on jquery-placeholder on npm, which is just a mirror of this repo.