[Pkg-javascript-devel] Debian node-express

Jérémy Lal kapouer at melix.org
Wed Apr 30 09:59:08 UTC 2014


Le mercredi 30 avril 2014 à 11:45 +0200, Jonas Smedegaard a écrit :
> Quoting Leo Iannacone (2014-04-30 10:20:28)
> > On 30 April 2014 02:39, Jérémy Lal <kapouer at melix.org> wrote:
> >> If /usr/lib/nodejs/express/package.json exists, nodejs uses it to 
> >> find the entry point of the module.
> >
> > Here more info about:
> > http://nodejs.org/api/modules.html#modules_folders_as_modules
> 
> Thanks for that!  Really cool!
> 
> I am still puzzled, however, on the concrete need for node-express to 
> preserve its source structure to avoid patching package.json, as I see 
> no name/main declarations in that specific package.json file.

In that specific case, it is indeed unneeded.
My personal preference is to not change it, and apparently yours is to
change it - no problem with that, isn't it ?

Jérémy.







More information about the Pkg-javascript-devel mailing list