NpmPublishAliases.

NpmPublish(ICakeContext, NpmPublishSettings) Method

Summary

Publishes a npm package based on the specified settings.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Containing Type
NpmPublishAliases

Syntax

public static void NpmPublish(this ICakeContext context, NpmPublishSettings settings)

Examples

var settings = 
        new NpmPublishSettings 
        {
            LogLevel = NpmLogLevel.Verbose,
            Source = "c:\mypackagesource"
        };
    NpmPublish(settings);

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings NpmPublishSettings The settings.

Return Value

Type Description
void