NpmSetAliases.

NpmSet(ICakeContext, NpmSetSettings) Method

Summary

Sets an npm configuration setting.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Containing Type
NpmSetAliases

Syntax

public static void NpmSet(this ICakeContext context, NpmSetSettings settings)

Examples

Use speSetfic log level ('npm Set')

var settings = new NpmSetSettings();
    settings.Key = "progress";
    settings.Value = "false";
    NpmSet(settings);

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

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

Return Value

Type Description
void