how to update version of dependencies reactjs

JavaScript
$ npm install -g npm-check-updates
$ ncu -u
$ npm install 
Source

Also in JavaScript: