This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Npm.
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 |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
settings | NpmSetSettings | The settings. |
Return Value
Type | Description |
---|---|
void |