停止一个包
npm stop [-- <args>]
此命令执行包中scripts下定义的stop脚本命令,前提是stop必须已定义。
# package.json文件 { "stop" : "echo this is stop" } > npm stop this is stop