{"id":1379,"date":"2019-07-13T12:59:18","date_gmt":"2019-07-13T03:59:18","guid":{"rendered":"http:\/\/www.santoshkori.com\/blog\/?p=1379"},"modified":"2020-09-10T03:35:22","modified_gmt":"2020-09-09T18:35:22","slug":"how-to-update-npm-packages-to-latest-version","status":"publish","type":"post","link":"https:\/\/www.santoshkori.com\/blog\/how-to-update-npm-packages-to-latest-version\/","title":{"rendered":"How to update npm packages to latest version"},"content":{"rendered":"\n<p>Here is way to update node\/ angular\/ react project&#8217;s npm packages to latest version automatically using npm command<\/p>\n\n\n\n<p>npm-check-updates is a utility that automatically update npm package.json with used package latest version of all dependencies<\/p>\n\n\n\n<p>see <a href=\"https:\/\/www.npmjs.org\/package\/npm-check-updates\" target=\"_blank\" rel=\"noopener\">https:\/\/www.npmjs.org\/package\/npm-check-updates<\/a><\/p>\n\n\n\n<p>npm install -g npm-check-updates<br>ncu -u<br>npm install <\/p>\n\n\n\n<p>A slightly less intrusive (avoids a global install) way of doing this if you have a modern version of npm is:<\/p>\n\n\n\n<p>npx npm-check-updates -u<br>npm install<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is way to update node\/ angular\/ react project&#8217;s npm packages to latest version automatically using npm command npm-check-updates is a utility that automatically update npm package.json with used package latest version of all dependencies see https:\/\/www.npmjs.org\/package\/npm-check-updates npm install -g npm-check-updatesncu -unpm install A slightly less intrusive (avoids a global install) way of doing this [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[748,743,744,747,714,746,745,716,742],"class_list":["post-1379","post","type-post","status-publish","format-standard","hentry","category-just-blogging","tag-angular","tag-how-to-update-npm-packages","tag-how-to-update-npm-packages-to-latest-version-automatically-using-npm-command","tag-node","tag-npm","tag-npm-project","tag-npm-version","tag-update-npm","tag-update-npm-packages-to-latest-version"],"_links":{"self":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts\/1379","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/comments?post=1379"}],"version-history":[{"count":4,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts\/1379\/revisions"}],"predecessor-version":[{"id":1388,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/posts\/1379\/revisions\/1388"}],"wp:attachment":[{"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/media?parent=1379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/categories?post=1379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.santoshkori.com\/blog\/wp-json\/wp\/v2\/tags?post=1379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}