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>2011-03-11 22:42:02 +0300
committerisaacs <i@izs.me>2011-03-22 01:56:03 +0300
commitc7d2b7526854638a26a4157c20b23bb2c043c088 (patch)
treebe943e0b5f77a42510cbea2a8a16bec14a2a0cc8 /package.json
parent9407d03da7db7427271a573c965e676ba55be64b (diff)
Prevent accidental updating.
Because npm 1.0 is not completely backwards-compatible with npm 0.x, users of the old version will likely want to remove or migrate installed packages before updating.
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index 79a3b3cf3..334aa9f55 100644
--- a/package.json
+++ b/package.json
@@ -52,7 +52,7 @@
, "dependencies" : { "semver" : "1" }
, "bundleDependencies" : [ "semver" ]
, "devDependencies" : { "ronn" : "" }
-, "engines" : { "node" : "0.4 || 0.5" }
+, "engines" : { "node" : "0.4 || 0.5", "npm" : "1" }
, "scripts" : { "test" : "make test"
, "postinstall" : "sh ./scripts/install-message.sh"
}