mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-06 09:17:55 +08:00
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.
18 lines
306 B
JSON
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"
|
|
}
|
|
}
|