if i'm not totally wrong, the name property in the package.json of your 
dependancy is used for folder creation. if you want the scenario, change 
that.

Am Montag, 28. Oktober 2013 15:39:50 UTC+1 schrieb Rich Frost:
>
> Hi all,
>
> I'm pretty new to node and npm, but am trying to understand whether it's 
> possible to alias dependencies defined in the package.json; at the moment 
> it seems the key name isn't used to create the folder name in node_modules.
>
> If I have the following in my package.json:
>
> "dependencies": {
>     "dep1-name-change": "git+ssh://[email protected]/dep1.git"
> }
>
> I end up with:
>
> node_modules/
>    dep1/
>
> What I'd really like to do is:
>
> "dependencies": {
>     "dep1-master": "git+ssh://[email protected]/dep1.git",
>     "dep1-tag1": "git+ssh://[email protected]/dep1.git#tag1"
> }
>
> With:
>
> node_modules/
>    dep1-master/
>    dep1-tag1/
>
>
> Is this possible?
>
> Thanks
>

-- 
-- 
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.

Reply via email to