npm publish
发布包
概要
npm publish <package-spec>
描述
将包发布到注册表,以便可以按名称安装。
默认情况下,npm 将发布到公共注册表。这可以通过指定不同的默认注册表或在名称中使用 scope
并结合范围配置的注册表(参见 package.json
)来覆盖。
package
的解释方式与其他命令相同(如 npm install
,可以是:
- a) 包含由
package.json
文件描述的程序的文件夹 - b) 一个 gzipped tarball,包含 (a)
- c) 解析为 (b) 的 url
- d) 在注册表上发布的
<name>@<version>
(参见registry
),带有 (c) - e) 指向 (d) 的
<name>@<tag>
(见npm dist-tag
) - f) 具有满足 (e) 的 "latest" 标签的
<name>
- g) 解决为 (a) 的
<git remote url>
2I0Rpjk65L2vEQ/GjN7yZgDp4BzqSe89b+bw4ekAEQFLUUAihX6eY2UKf88hf4qRNx4i0mOLbXl4V+ffcjSCwCVWSnnMKMbzHILP5eAgWr0pkTrW5rHHolbejokfPbvj
57qEvNZg7X7zvm7BJ4kqtrHKtB8A3WVbNb0Bjd8JhxlTseZWpJL++bfKhBUK3NiJcWttcsASzt4epEui7lkUIZpGwnBA5dQ81uwlpIrprcFL/NVa7R3q27LOyLRMQkF/9fnrHv51P2q1gWng/2m0jlKxV96cnYhadN9s+bps30Zz2wp/a3XKophVsshmKblRsuyKR4M48oJr20mV4C1ybqp6YkyhNSHh6cRq35RownStIKdEZCCKJYV4zQsDItqK9aP7Jlxosj3X1vF4hHr6WPl1ieVEG90hBepKnxXQHXg=
PcsU3AU1xLAwDyL+mEuT6XaIP/Xim/tFanOK67xfFpLKSC3cHt4J2MUR/urmC9NHQTPrbWX+zR1dCahkYSrIzxwW8+FFH8Sp6HiEni0JJo4rHrceDKK4Es2Kdf5vxZY3QVihgRN1FgmrAfSAILDEg9qz6O0X0emlPVArbFPqH1AnIqFgHsE7XIg7rmVi5qE6GkQgvdn3bi+rRTIBIfdTSerl1Zt/2yJAchAswPO6AW47ri7wdplrYyBoDbtBy6hJrnNd3yKxvJRnIAObKj1Z2A==
utqKTGod4YRpDMIR9SfopEjmRBNnvuEm7iNs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