NpmSettingsExtensions Class

Summary

Extensions for NpmSettings.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["NpmSettingsExtensions"] class Type type-node

Syntax

public static class NpmSettingsExtensions

Methods

Name Value Summary
FromPath(NpmSettings, DirectoryPath) NpmSettings
Sets the working directory which should be used to run the npm command.
static
SetRedirectedStandardErrorHandler(NpmSettings, Action<string>) NpmSettings
Sets the StandardError-Action
static
SetRedirectedStandardOutputHandler(NpmSettings, Action<string>) NpmSettings
Sets the StandardOutput-Action
static
WithLogLevel(NpmSettings, NpmLogLevel) NpmSettings
Sets the log level which should be used to run the npm command.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin