Summary
Contains settings used by
NpmScriptRunner
.
- Namespace
- Cake
.Npm .RunScript - Base Types
-
- object
- NpmSettings
graph BT
Type-->Base0["NpmSettings"]
click Base0 "/Cake.Npm/api/Cake.Npm/NpmSettings"
Base0-->Base1["object"]
Type["NpmRunScriptSettings"]
class Type type-node
Syntax
public class NpmRunScriptSettings : NpmSettings
Constructors
Name | Summary |
---|---|
NpmRunScriptSettings |
Initializes a new instance of the NpmRunScriptSettings class.
|
Properties
Name | Value | Summary |
---|---|---|
Arguments | IList |
Arguments to pass to the target script.
|
ScriptName | string |
Name of the script to execute as defined in package.json.
|
Methods
Name | Value | Summary |
---|---|---|
EvaluateCore |
void |
Evaluates the settings and writes them to args.
|
Extension Methods
Name | Value | Summary |
---|---|---|
FromPath |
NpmSettings |
Sets the working directory which should be used to run the npm command.
|
Set |
NpmSettings |
Sets the StandardError-Action
|
Set |
NpmSettings |
Sets the StandardOutput-Action
|
WithArguments |
NpmRunScriptSettings |
Sets the arguments which should be passed to the script.
|
WithLogLevel |
NpmSettings |
Sets the log level which should be used to run the npm command.
|