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 returned by a configurator.
- Assembly
- Cake
.Npm .dll - Namespace
- Cake
.Npm - Containing Type
- NpmSetAliases
Syntax
public static void NpmSet(this ICakeContext context, Action<NpmSetSettings> configurator)
Examples
Use speSetfic log level ('npm Set')
NpmSet(settings => settings.ForKey("progress").WithValue("false"));
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
configurator | Action |
The settings configurator. |
Return Value
Type | Description |
---|---|
void |