npm pack
从包中创建一个 tarball
概要
npm pack [[<@scope>/]<pkg>...] [--dry-run] [--json]
配置
dry-run
- 默认值:false
- 类型:布尔值
表示您不希望 npm 进行任何更改,并且它应该只报告它会做的事情。这可以传递到任何修改本地安装的命令中,例如 install
、update
、dedupe
、uninstall
以及 pack
和 publish
。
注意:其他网络相关命令不支持此功能,例如 dist-tags
、owner
等。
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/HPLjmtfh4imWfDC5UHFL2GHZY0ss32EUEo730we1vYXIcZtblB9YA4BtEoHbMRw22RUeP65aDRMLidjPp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