-
-
Notifications
You must be signed in to change notification settings - Fork 233
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 a package.json file #46
Conversation
package.json file will allow classList.js repo to be installed via NPM (even if it is not published on the NPM registry - via its GitHub URL). This does not change any aspect of classList.js but will just ease its usage.
I wonder if NPM will have issues with |
If you meant package name, yes it has.
|
👍 |
And please consider to change the package name |
Yes, could you please see about getting this PR merged? I keep wanting to install this pollyfill from npm but forget it does not have a package file. :) |
The current version of classList.js is not 1.0.0, it's 1.1.20150312. @le717 @phueper @sroucheray @tomByrer: I don't use this repo for package manager syndication. Package maintainers (that can be you) can maintain packages for their preferred package managers. I only use GitHub for git. Btw, git has a built-in dependency tool called submodules. You could try using that instead if you are unwilling to maintain a few lines of metadata for whatever your preferred package manager is. Here's one entry already on npm. @W0nderMuffin Why? I'm not a Mozilla employee, and I was not hired to write this for MDN. |
My desire was to simply use npm to install this straight from GitHub as part of my dependencies:
I wasn't really asking for it to be on npm, just be able to install it from here. I do know about submodules but I did not want to use them in my (admittedly simple) project. As for the version on npm, last I checked I think it was out of date (that may have changed now). I can understand your decision for not wanting to add such a file, but considering how often your pollyfill is referenced and used, such a file just in the repo, doesn't matter if it's on npm or not, could be a very advantageous thing for many developers. |
Alright, since it's popular and won't be a big deal, you guys can add this file, but please submit a pullreq with the correct version (1.1.20150312) and license (public domain). |
@sroucheray now you can merge and do a new pullreq ;) |
I merged and created a new PR #47 |
package.json file will allow classList.js repo to be installed via NPM
(even if it is not published on the NPM registry - via its GitHub URL).
This does not change any aspect of classList.js but will just ease its
usage.