How to easily verify correct npm dependencies installed?

后端 未结 6 951
北海茫月
北海茫月 2020-12-07 01:52

How can I know when to prompt user to run npm install if there are any unmet package.json dependencies?

I would like to do this, because if any re

6条回答
  •  北海茫月
    2020-12-07 02:27

    You can use yarn and do yarn check --verify-tree (you can continue using npm for everything else)

提交回复
热议问题