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