npm-stop

停止一个包

概要

npm stop [-- <args>]

描述

此命令执行包中scripts下定义的stop脚本命令,前提是stop必须已定义。

# package.json文件
{
  "stop" : "echo this is stop"
}

> npm stop
this is stop

results matching ""

    No results matching ""