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
path: root/npm.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-03-04 01:14:09 +0300
committerisaacs <i@izs.me>2010-03-04 01:14:09 +0300
commit2932d706fcf96ede37c5a10147a5fd8a3371e195 (patch)
treed576fd0fd719a66564b0797e55c46d40dbeefc0b /npm.js
parent79bd553e48433b32f14d1af882514692da5951a6 (diff)
Add the build command.
Diffstat (limited to 'npm.js')
-rwxr-xr-xnpm.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/npm.js b/npm.js
index 752a8c9d0..e6a3766b4 100755
--- a/npm.js
+++ b/npm.js
@@ -13,7 +13,12 @@ var utils = require("./lib/utils");
npm.moduleName = moduleName;
-["install", "activate", "deactivate", "ls"].forEach(function (c) {
+[ "install"
+, "activate"
+, "deactivate"
+, "ls"
+, "build"
+].forEach(function (c) {
npm[c] = require("./lib/"+c);
});
npm.list = npm.ls;