NpmPacker Class

Summary

Tool for packaging npm modules.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.Pack
Base Types
graph BT Type-->Base0["NpmTool<NpmPackSettings>"] Base0-->Base1["Tool<NpmPackSettings>"] Type["NpmPacker"] class Type type-node

Syntax

public class NpmPacker : NpmTool<NpmPackSettings>

Constructors

Methods

Name Value Summary
Pack(NpmPackSettings) IEnumerable<FilePath>
Creates a npm package from the specified settings.

Extension Methods

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