OptionalaccessAccess level for scoped packages: "public" or "restricted".
OptionalbinOverride the bin field for publishing.
OptionalbrowserOverride the browser field for publishing.
OptionaldirectoryThe subdirectory to publish. Useful for monorepos where the build output is in a subdirectory.
OptionalexecutableFiles to mark as executable after extraction. Only relevant for pnpm.
OptionalexportsOverride the exports field for publishing.
OptionallinkWhen set to true, the local package will be linked to the virtual store instead of being copied. Only relevant for pnpm.
OptionalmainOverride the main entry point for publishing.
OptionalmoduleOverride the module entry point for publishing.
OptionalprovenanceProvenance attestation for the package. When true, npm generates and publishes provenance statements.
OptionalregistryThe npm registry URL to publish to.
OptionaltagThe distribution tag to publish to.
OptionaltypesOverride the types entry point for publishing.
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,registryoraccess, 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.See