Files
react-native/react-native-cli/package.json
James Ide 64c809345f [CLI] Make react-native init check your Node version
We get a bunch of bugs because people are running old versions of Node that don't support modern JS. We have "engines" entries in the package.json files to catch this earlier but printing an explicit error message will also make this clear.

Test Plan: Changed react-native's package.json to require Node >= 5 and got an error message when running the CLI with Node 4.
2015-10-21 12:51:14 -07:00

18 lines
306 B
JSON

{
"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": {
"chalk": "^1.1.1",
"prompt": "^0.2.14",
"semver": "^5.0.3"
}
}