Here's the list of packages with "preinstall", "install", or "postinstall" scripts: http://registry.npmjs.org/-/scripts?scripts=install,preinstall,postinstall.
Now, that doesn't necessarily mean the module is using node-waf, but in reality there's very little use case for using these script phases with a native module, since npm will *just work* when it comes to detecting a "wscript" file (and compile using node-waf) or a "binding.gyp" file (which will compile using npm's bundled node-gyp). The smaller this list of entries is the better. On Fri, May 11, 2012 at 8:24 AM, Matt <[email protected]> wrote: > Mine (fs-ext) hasn't - I'd welcome patches to convert it over though... > > > On Fri, May 11, 2012 at 6:56 AM, Jeroen Janssen > <[email protected]>wrote: > >> Hi, >> >> Is there an (easy) way of finding out which npm packages use node-waf? >> I would like to find out which node modules that build C/C++ code have >> not switched to node-gyp yet. >> >> I was hoping it could be derived from the package.json, but so far >> that doesn't seem to be the case (i.e. some modules call an install >> script from package.json and that does a node-waf call so inspecting >> package.json is not enough). >> >> Is the 'only' way to detect node-waf usage to look for a 'wscript' >> file inside the addon tar.gz? >> i.e. that would mean downloading every (last version of a) package, >> unpacking it and checking for the wscript file? >> >> Best regards, >> >> Jeroen Janssen >> >> -- >> 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 >> > > -- > 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 > -- 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
