npm pack

从包中创建一个 tarball

概要

npm pack <package-spec>

配置

dry-run

  • 默认值:false
  • 类型:布尔值

表示您不希望 npm 进行任何更改,并且它应该只报告它会做的事情。这可以传递到任何修改本地安装的命令中,例如 installupdatededupeuninstall 以及 packpublish

注意:其他网络相关命令不支持此功能,例如 dist-tagsowner 等。

json

  • 默认值:false
  • 类型:布尔值

qxmJciLn6cM8Jx3C8A6mkp7patK5avMEWK3FAKCZGQWqwHeQRlQbKZbAF9STMwRZ5T4Oqnnah/GtuBgV1BwAcw==

    TTIBJ19gwEChqC4GuNJb9/1pKvBUVlbvredyBQ8Hyg5nf4ZcSuVQG62hJzOd3EOnGO62wi94rnL3VWqrE+Dv+PfORdjcB05/WIacWW5WtvD7RJ/CPoPAJprVgoI8YBaktgpTNM8RZCejyf+rW1I9ysI0gfPoD14f/zZ8BPlvBz0iad84tirsUP/XWbDQXqv0EmUK1wbxMkt0yzUZ4szGuQ==

QdF9338OfCSY1LTr0ll7ZkIg8XdUzUjAhPqApA3Lt+qmR4R8UgA1Pu+HeopCPIC8

pack-destination

    Jo9YyMATQgc1FiySMtnVB0z2hRK1D3FFpXD2i+dv5dUuyawaPfdLpk1YdKRK6ltVix92amc5q10RkyngZ58CJQ==

Mpzjo8cwDGgiSRCJrEwdJdw5wVAlmC4k2wvCmIUnKRKe1aLfGoHdl2pReWlU55237zNNa6mIPpqUQuFn+zSUQA==

workspace

    Jo9YyMATQgc1FiySMtnVB4YMB8db7UZN5DIyxKHPry2OmSdp+K3HOJ3BdgWQJYt6tCGvlPdqm/XRnvUydHufmqhIn3jdcfH1Kn7xmtkOnok=

mxwwxmyxfRa/NX5mOTOp/a4pbtoEncEIbcu/bItobyuIXQcms5LhzXDAPZgtFVUAWQV7iHbgNij2yBtG7f0VhSoywJSPEjoJHIrci/HPLjmtfh4imWfDC5UHFL2GHZY0ss32EUEo730we1vYXIcZtblB9YA4BtEoHbMRw22RUeP65aDRMLidjPpjUhvqEYsN

BoYudhX6P4R1Soh/jgA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