Closed SimenB closed 9 years ago
Sure thing.
npm publish
is returning status 500 for me at the moment, so no npm release yet :) I'll try again later so let's keep this open.
You have to create a user, probably. https://docs.npmjs.com/getting-started/publishing-npm-packages
I have a user created:
↳ npm whoami
kristerkari
Probably something else wrong...
Ah, ok. Nothing reported at their status, though. http://status.npmjs.org/
EDIT: @kristerkari just tried to publish to test, and it works fine now. Removed myself as owner, and added you.
npm owner ls nanoscroller
kristerkari <krister.kari@webtehdas.fi>
I stand as publisher and collaborator, but the project only appears under your username, so it'll probably straighten itself when you next publish :smile:
@SimenB Thanks!
It looks like the main
field is incorrect (or incorrect files are published) in the npm package.
Yeah, main is missing bin/
prefix. Sorry about that... :S
But the bin
directory is included, right? You just have to require
manually inside the package?
On Wed, 29 Apr 2015 21:46 Caleb Boyd notifications@github.com wrote:
It looks like the main field is incorrect (or incorrect files are published) in the npm package.
— Reply to this email directly or view it on GitHub https://github.com/jamesflorentino/nanoScrollerJS/issues/291#issuecomment-97558033 .
Yeah you can still use it but is broken for other managers (jspm)
I changed format
to amd
from global
. This package has a UMD wrapper, and from what I remember from googling, amd
is what should be put there
Doh, I'll have to push a new version then.
@kristerkari Throwing together a PR now, gimme 5 min. Why #283 did not include bin/
I'm unsure of though. @scoarescoare?
On another note, it works great as a github install on jspm
@calebboyd, ok, so the stuff from #283 is correct, it's only the main
-field messing up when it's from npm?
Yeah, github/jspm install works fine. its just for npm that it appears to be broken.
@SimenB bin/
is included, in a way, because it's defined as the directories.lib config parameter.
Ok, cool. The more you know :smile:
Thanks for the fixes guys.
Does npm see the changes now, or is there a need to to publish a new version?
You'll need to publish
On Thu, 30 Apr 2015 08:25 Krister Kari notifications@github.com wrote:
Thanks for the fixes guys.
Does npm see the changes now, or is there a need to to publish a new version?
— Reply to this email directly or view it on GitHub https://github.com/jamesflorentino/nanoScrollerJS/issues/291#issuecomment-97676691 .
version 0.8.7 is out
Is it possible to change the bin
directory to dist
or something similar? Since bin is blocked by IIS and some other webservers. (by default)
Please? :smile:
It's the official way to distribute jQuery plugins. https://plugins.jquery.com/