You could use something like `vendor/node_modules`, but your runtime should be preconfigured with proper NODE_PATH environment variable. Something like this:
› NODE_PATH=/path/to/venror/node_modules:$NODE_PATH node myapp.js On Friday, August 9, 2013 1:01:35 PM UTC+4, sam wrote: > > Hello, > > I have a project using nodejs and php, with npm and composer to manage > dependances. > I've installed php dependances in vendors/php/ and I would like to install > nodejs dependances in vendors/nodejs/... or vendors/node_modules. > Moreover I want to share this settings with other developers and with the > production applcation. > So I think that I've to define that locally but I didn't find a way to do > that. > > With composer I can define that in the package.json of composer but not > with npm ( or I didn't find that in the doc ). > > Any idea ? > > > Thank you, > > Sam > -- -- 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.
