Permalink
Browse files

added node-gyp to the package.json docs

  • Loading branch information...
1 parent 21214ea commit c1f44603019651b99f7bfd129fa89e2c09e8f369 @markdube markdube committed with isaacs Jun 30, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 doc/cli/json.md
View
@@ -23,6 +23,11 @@ npm will default some values based on package contents.
If there is a `wscript` file in the root of your package, npm will
default the `preinstall` command to compile using node-waf.
+* `"scripts":{"preinstall": "node-gyp rebuild"}`
+
+ If there is a `binding.gyp` file in the root of your package, npm will
+ default the `preinstall` command to compile using node-gyp.
+
* `"contributors": [...]`
If there is an `AUTHORS` file in the root of your package, npm will

0 comments on commit c1f4460

Please sign in to comment.