This is a set of config values that will be used at publish-time.
It's especially handy if you want to set the tag, registry or access,
so that you can ensure that a given package is not tagged with “latest”,
published to the global public registry or that a scoped module is private by default.
Any config values can be overridden, but only "tag", "registry" and
"access" probably matter for the purposes of publishing.
See npm-config to see the list of config options that can be overridden.
This is a set of config values that will be used at publish-time. It's especially handy if you want to set the
tag
,registry
oraccess
, so that you can ensure that a given package is not tagged with“latest”
, published to the global public registry or that a scoped module is private by default. Any config values can be overridden, but only "tag
", "registry
" and "access
" probably matter for the purposes of publishing. See npm-config to see the list of config options that can be overridden.{ "publishConfig":{ "registry":"https://registry.npmjs.org" } }
{ "publishConfig":{ "registry":"http://your-registry.local" } }
https://docs.npmjs.com/files/package.json#publishconfig
https://yarnpkg.com/en/docs/package-json#toc-publishconfig