I built a small package to try uploading to the npm registry. When I
install it back, however, it's missing the lib folder.
This is the (summarized) `package.json`:
>
> {
# author, name, description, version, repository
"files": ["bin", "src", "lib", "Makefile"],
"main": "./lib/foo.js",
"bin": {
"foo": "./bin/foo"
},
# dependencies, engines
}
When I issue npm pack, the resulting tar file *contains* the lib folder as
expected.
However, when after publishing I run`npm install -g, the package installed
to `/usr/lib/node_modules is *missing* the lib folder. All other files are
there.
What am I missing?
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.