npm install-test
安装包并运行测试
概要
npm install-test (with no args, in package dir)
npm install-test [<@scope>/]<name>
npm install-test [<@scope>/]<name>@<tag>
npm install-test [<@scope>/]<name>@<version>
npm install-test [<@scope>/]<name>@<version range>
npm install-test <tarball file>
npm install-test <tarball url>
npm install-test <folder>
alias: npm it
common options: [--save|--save-dev|--save-optional] [--save-exact] [--dry-run]
描述
此命令运行一个 npm install
,后跟一个 npm test
。它采用与 npm install
完全相同的参数。
配置
save
- 默认值:true
- 类型:布尔值
将已安装的包作为依赖项保存到 package.json 文件中。
与 npm rm
命令一起使用时,从 package.json 中删除依赖项。
save-exact
- FnsPjUGY6P4BuL6EtQHjtBjTyfBFkowW2Tx6DsOp0ltR3MaXAHz8gX0i3k/ReZD2jgcAWcpAg4PrrphlOOQiTg==
ANBMcsLtVaqbcJchsq/ZxKBhcOlrRSQ77nNR5Ak4rgsKXTvnpcx5zfDHp6NGfP35fTiKAroSm4RTFCyAo1fwUQREgOwZJdKJ4IknLY9WrZDQjhQx7Ks/tkr/eaCOh86VF+XUXG3CfUIOKi6iszpg0oz2XZ6bdRrMhOnuZXRoIrAjTJJF7vhRBZ0OxVXHJrFu
global
- FnsPjUGY6P4BuL6EtQHjtBjTyfBFkowW2Tx6DsOp0ltR3MaXAHz8gX0i3k/ReZD2jgcAWcpAg4PrrphlOOQiTg==
vixtousxKhYPwUOePyDD5SaivuaXXjdr9a7p6BCOuFfWyW2uUtQtPXL8QLjt5iN2qICqcjZw3jBsuRxaCFIAe2GA86xX5lLJ6PFvOzeb48NmQgNTak90mTbpIOclUzEKloYevNmdVEBPyHjoJRkFVcpq/izzKsGS9huNoAodmHdUNla8S43s3v/gA3+Qucg8k7SoyJuVVfRGEw2BJjTFBZdCkexNpBQ8zXeZLl03IpzKVceFS5/COyNCg4fyizmZ3LZnsEfhMTc1RqXj7BrSb0ySex2oAg3S26KG5aP8UNk=
- DR+KSj9ahQkSUrhqxPU5fd+2jZjYSR8xWJp4FwBFaZ9FVTzUPstKYJI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