how to check version for react-native code example

Example 1: How to check the installed version of React-Native

react-native info
//or
ing npm install
-->JargonAprV2 git:(master) x react-native -v
react-native-cli: 0.1.10
react-native : 0.24.1
npm install -g yarn : incase yarn internal or external command	 

npm install -g serve : installing npm globaly
serve -s build 
---------------------------------
npm install -g react-native-cli
react-native init AwesomeProject
---------------------------------

Example 2: react native version

{  "name": "AwesomeProject",  "version": "0.0.1",  "scripts": {    "start": "node node_modules/react-native/local-cli/cli.js start",+   "postversion": "react-native-version"  }}