Home > types > PackageJson > PublishConfig
Signature:
export interface PublishConfig
| Property | Modifiers | Type | Description |
|---|---|---|---|
| access? | ‘public’ | ‘restricted’ | (Optional) When publishing scoped packages, the access level defaults to restricted. If you want your scoped package to be publicly viewable (and installable) set --access=public. The only valid values for access are public and restricted. Unscoped packages always have an access level of public. |
|
| registry? | string | <p>(Optional) The base URL of the npm registry.</p><p>Default: 'https://registry.npmjs.org/'</p> |
|
| tag? | string | <p>(Optional) The tag to publish the package under.</p><p>Default: 'latest'</p> |