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-03-05 08:20:17 +0300
committerisaacs <i@izs.me>2010-03-05 08:20:17 +0300
commitfbbdff345a6ac92ab47c820ff02148f9ad179f96 (patch)
tree8620b07f84f5225aafa91665d4ce05926f71a62f /README.md
parent6efe1ad0b7f65ca4ddc08ab393558c95f65d505a (diff)
example json cleanup
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 0ca9e6aa8..aad22906f 100644
--- a/README.md
+++ b/README.md
@@ -211,11 +211,11 @@ Packages/1.0 says that you can have an "engines" field with an array of engine n
With npm, you can use either of the following styles to specify the version of node that your stuff works on:
- { engines: ["node >=0.1.27 <0.1.30"] }
+ { "engines" : [ "node >=0.1.27 <0.1.30" ] }
or:
- {engines:{"node":">=0.1.27 <0.1.30"}}
+ { "engines" : { "node" : ">=0.1.27 <0.1.30" } }
And, like with dependencies, if you don't specify the version (or if you specify "*" as the version), then any version of node will do.