How to update each dependency in package.json to the latest version?

前端 未结 30 3324
清歌不尽
清歌不尽 2020-11-22 08:01

I copied package.json from another project and now want to bump all of the dependencies to their latest versions since this is a fresh project and I don\'t mind

30条回答
  •  无人共我
    2020-11-22 08:34

    If you want to use a gentle approach via a beautiful (for terminal) interactive reporting interface I would suggest using npm-check.

    It's less of a hammer and gives you more consequential knowledge of, and control over, your dependency updates.

    To give you a taste of what awaits here's a screenshot (scraped from the git page for npm-check):

提交回复
热议问题