check reactjs version npm code example Example: check react version npm view react version npm view react-script version