Permalink
Browse files

tweak readme

  • Loading branch information...
ddollar committed Nov 30, 2011
1 parent 3bdb6bf commit 06114ea37a23ae7fa1903520031f5d7b9bd3fc52
Showing with 13 additions and 0 deletions.
  1. +13 −0 README.md
View
@@ -29,6 +29,19 @@ Example usage:
The buildpack will detect your app as Node.js if it has the file `package.json` in the root. It will use NPM to install your dependencies, and vendors a version of the Node.js runtime into your slug. The `node_modules` directory will be cached between builds to allow for faster NPM install time.
+Node.js and npm versions
+------------------------
+
+You can specify the versions of Node.js and npm your application requires using `package.json`
+
+ {
+ "name": "myapp",
+ "engines": {
+ "node": ">=0.4.7 <0.7.0",
+ "npm": ">=1.0.0"
+ }
+ }
+
Hacking
-------

0 comments on commit 06114ea

Please sign in to comment.