Have a look at http://npmjs.org/doc/json.html#bin and then:
npm install -g wonder-app wonder-app On Mon, Apr 23, 2012 at 8:44 AM, Paddy Byers <[email protected]> wrote: > Hi, > >> I *conceptually* want to do this ... >> >> npm install wonder-app >> node wonder-app >> >> In other words I want to distribute the complete app ready to run via npm. >> What is the easiest way to do this? > > > What about: > > npm install wonder-app > node --eval "require('wonder-app')()" > > ? > > Paddy > > -- > 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 -- Oliver Leics @ G+ https://plus.google.com/112912441146721682527 -- 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
