PublishConfig: {
    access?: "public" | "restricted";
    registry?: string;
    tag?: string;
    [additionalProperties: string]: undefined | JsonValue;
}

Type declaration

  • [additionalProperties: string]: undefined | JsonValue

    Additional, less common properties from the npm docs on publishConfig.

  • Optionalaccess?: "public" | "restricted"

    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.

  • Optionalregistry?: string

    The base URL of the npm registry.

    Default: 'https://registry.npmjs.org/'

  • Optionaltag?: string

    The tag to publish the package under.

    Default: 'latest'