npm install-test

安装包并运行测试

概要

npm install-test [<package-spec> ...]

alias: it

描述

此命令运行一个 npm install,后跟一个 npm test。它采用与 npm install 完全相同的参数。

配置

save

  • 默认值:true,除非在使用 npm update 时默认为 false
  • 类型:布尔值

将已安装的包作为依赖项保存到 package.json 文件中。

npm rm 命令一起使用时,从 package.json 中删除依赖关系。

+RGkXWwDZPEVfgkGQhRY+JmE5KDgLmmdzew5qWn96pkLUTD+N5mRDvVoHvXObGVfI2JyeKy73wdn1WdVCKcKW90V8yHuXSgVDfMBw6oCVaPR9f9rGBH41g49rzrk9/qd

save-exact

    FnsPjUGY6P4BuL6EtQHjtBjTyfBFkowW2Tx6DsOp0ltR3MaXAHz8gX0i3k/ReZD2jgcAWcpAg4PrrphlOOQiTg==

ANBMcsLtVaqbcJchsq/ZxKBhcOlrRSQ77nNR5Ak4rgsKXTvnpcx5zfDHp6NGfP35fTiKAroSm4RTFCyAo1fwUQREgOwZJdKJ4IknLY9WrZDQjhQx7Ks/tkr/eaCOh86VF+XUXG3CfUIOKi6iszpg0oz2XZ6bdRrMhOnuZXRoIrAjTJJF7vhRBZ0OxVXHJrFu

global

    FnsPjUGY6P4BuL6EtQHjtBjTyfBFkowW2Tx6DsOp0ltR3MaXAHz8gX0i3k/ReZD2jgcAWcpAg4PrrphlOOQiTg==

vixtousxKhYPwUOePyDD5SaivuaXXjdr9a7p6BCOuFfWyW2uUtQtPXL8QLjt5iN2qICqcjZw3jBsuRxaCFIAe2GA86xX5lLJ6PFvOzeb48NmQgNTak90mTbpIOclUzEKloYevNmdVEBPyHjoJRkFVcpq/izzKsGS9huNoAodmHdUNla8S43s3v/gA3+Qucg8k7SoyJuVVfRGEw2BJjTFBWqM27gTHu7xtme5WSkntk0jIiIUn4h8CEjtygrajP7SJ7Vni1aCSVCng2ajz3NryDhN8PqmkNT6+g3evS09VF0=

    DR+KSj9ahQkSUrhqxPU5fd+2jZjYSR8xWJp4FwBFaZ9FVTzUPstKYJIZzzrXlvy5Su6MRg4M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