How to suppress output when running npm scripts

后端 未结 5 491
日久生厌
日久生厌 2020-12-23 10:48

I have decided to experiment with npm scripts as a build tool and so far I like it. One issue I\'d like to solve is when running a script to run jshint when something doesn

5条回答
  •  粉色の甜心
    2020-12-23 11:31

    npm install --quiet --no-progress 
    

    Will keep warnings and errors, and suppress the ADHD progress bar on terminals that support it.

提交回复
热议问题