NpmSetTool Class

Summary

Tool for installing all npm packages for a project from package-lock.json.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.Set
Base Types
graph BT Type-->Base0["NpmTool<NpmSetSettings>"] Base0-->Base1["Tool<NpmSetSettings>"] Type["NpmSetTool"] class Type type-node

Syntax

public class NpmSetTool : NpmTool<NpmSetSettings>

Constructors

Methods

Name Value Summary
Set(NpmSetSettings) void
Sets a configuration key/value

Extension Methods

Name Value Summary
Dump<NpmSetTool>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<NpmSetTool>(NpmSetTool[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<NpmSetTool>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<NpmSetTool>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<NpmSetTool>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<NpmSetTool>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin