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

前端 未结 30 3317
清歌不尽
清歌不尽 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:26

    • npm outdated
    • npm update

    Should get you the latest wanted versions compatible for your app. But not the latest versions.

提交回复
热议问题