verify react version code example Example: how to check reactjs version in command prompt npm list react