use npm to update packages to latest version
npm i -g npm-check-updates
ncu -u
npm installuse npm to update packages to latest version
npm i -g npm-check-updates
ncu -u
npm installhow to update my package.json
npm install -g npm-check-updates
/after install run following:
ncu -u
//Then this:
npm updateupdate all dependencies npm
npm update  //update all local packagesnpm update specific package
npm update browser-sync
-------
yarn upgrade browser-syncnpm package update to latest
npm install -g npm-upgradeCopyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us
