{
  "name": "react-native-cli",
  "version": "0.1.4",
  "description": "The ReactNative cli tools",
  "main": "index.js",
  "scripts": {
    "test": "mocha"
  },
  "bin": {
    "react-native": "index.js"
  },
  "dependencies": {
    "prompt": "^0.2.14"
  }
}

{
  "name": "react-native-cli",
  "version": "0.1.6",
  "description": "The React Native CLI tools",
  "main": "index.js",
  "engines": {
    "node": ">=4"
  },
  "scripts": {
    "test": "mocha"
  },
  "bin": {
    "react-native": "index.js"
  },
  "dependencies": {
    "prompt": "^0.2.14"
  }
}

Add Node >= 4 requirement to CLI tools
[CLI] Add Node >= 4 requirement to CLI tools

React Native's packager now relies on modern V8 so it depends on modern Node. The CLI tools actually run with older versions of Node but the version constraint in the CLI's package.json accomplishes two things:

- Lets us rely on modern V8 in the CLI so we don't have to think about which JS features we can use
- Fails faster up front. So if someone has Node 0.10 for example they will get an error when setting up the CLI tools instead of later on in the process.
