NpmCiTool Class

Summary

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

Syntax

public class NpmCiTool : NpmTool<NpmCiSettings>

Constructors

Methods

Name Value Summary
Install(NpmCiSettings) void
Installs all npm packages from the specified settings.

Extension Methods

Name Value Summary
Dump<NpmCiTool>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<NpmCiTool>(NpmCiTool[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<NpmCiTool>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<NpmCiTool>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<NpmCiTool>(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<NpmCiTool>(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