arikon / npm2debian

Utility to convert npm packages to Debian packages
32 stars 13 forks source link

do not depend on npm in package.json #12

Closed kapouer closed 12 years ago

kapouer commented 12 years ago

You already need to do npm install . to have a working npm2debian !

kapouer commented 12 years ago

wrote too fast... but isn't there a way to have npm2debian use the already installed npm debian package ? You can build npm debian package from this repository, using git-buildpackage command : http://anonscm.debian.org/gitweb/?p=collab-maint/npm.git

arikon commented 12 years ago

npm2debian uses npm as a library. Think of it as a statically linked dependency.

Here is a good reading about local and global installation of npm packages: http://blog.nodejs.org/2011/03/23/npm-1-0-global-vs-local-installation/

kapouer commented 12 years ago

Of course and i see no problem with that, if we consider npm2debian as an npm package. I'm going to discuss this on the pkg-javascript-devel thread !