How do I update devDependencies in NPM?

前端 未结 8 2064
长发绾君心
长发绾君心 2020-12-12 10:52

npm update seems to just update the packages in dependencies, but what about devDependencies.

Right now you can install

8条回答
  •  醉话见心
    2020-12-12 12:00

    I ran into the same problem as OP had, and found no solution, so I decided to write a Grunt plugin that will auto-update my devDependencies..

    It's on Github, I'd love to get some input and collaborations in order to make it the best tool that NPM hasn't provided.

    Basically it will auto-update your outdated development dependencies with a simple Grunt Task.

    https://github.com/pgilad/grunt-dev-update

提交回复
热议问题