diff options
author | isaacs <i@izs.me> | 2010-05-03 10:48:56 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-05-03 10:48:56 +0400 |
commit | a179be62b8c2c273b7eb78d16dc1df92b2443b44 (patch) | |
tree | 4f991102c401b43606731a4fe2e7dcb2e79bf437 /package.json | |
parent | 0d86a97ff3d514c19b5a6cd99a60e14f6c918686 (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.json | 5 |
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" + } } |