Add Node >= 4 requirement to package.json and packager/package.json

Summary: When you try to install these with old Node you'll now get a message from npm telling you that your version of Node is old. This makes it more obvious what's going on and hopefully reduces the number of issues we get due to people using an old version of Node.
Closes https://github.com/facebook/react-native/pull/3296

Reviewed By: @​svcscm

Differential Revision: D2526500

Pulled By: @vjeux

fb-gh-sync-id: 036e10a8d1819ea082e419cd328a458202f0e071
This commit is contained in:
James Ide 2015-10-09 14:42:33 -07:00 committed by facebook-github-bot-7
parent fc7d01e2ab
commit 5a5ecf5cd1
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,9 @@
"type": "git",
"url": "git@github.com:facebook/react-native.git"
},
"engines": {
"node": ">=4"
},
"jest": {
"setupEnvScriptFile": "jestSupport/env.js",
"testPathIgnorePatterns": [