NpmSetAliases.

NpmSet(ICakeContext, string, string, bool) 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, string key, string value, bool global = false)

Examples

NpmSet("progress", "false");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
key string The key
value string The value
global bool Set globally

Return Value

Type Description
void