diff options
author | isaacs <i@izs.me> | 2010-03-05 08:20:17 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-03-05 08:20:17 +0300 |
commit | fbbdff345a6ac92ab47c820ff02148f9ad179f96 (patch) | |
tree | 8620b07f84f5225aafa91665d4ce05926f71a62f /README.md | |
parent | 6efe1ad0b7f65ca4ddc08ab393558c95f65d505a (diff) |
example json cleanup
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |