Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-05-03 10:48:56 +0400
committerisaacs <i@izs.me>2010-05-03 10:48:56 +0400
commita179be62b8c2c273b7eb78d16dc1df92b2443b44 (patch)
tree4f991102c401b43606731a4fe2e7dcb2e79bf437 /package.json
parent0d86a97ff3d514c19b5a6cd99a60e14f6c918686 (diff)
Handle docs better so that the installed docs are always in sync with the active program
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/package.json b/package.json
index 244f5ab60..e38d6efa2 100644
--- a/package.json
+++ b/package.json
@@ -16,4 +16,9 @@
, "main" : "./npm"
, "bin" : { "npm" : "./cli.js" }
, "engines" : { "node" : ">=0.1.32" }
+, "scripts" :
+ { "preactivate" : "make doc"
+ , "activate" : "node install-docs.js"
+ , "deactivate" : "node install-docs.js"
+ }
}