NpmRebuildSettingsExtensions.

AddPackage(NpmRebuildSettings, string) Method

Summary

Rebuild a package by name
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.Rebuild
Containing Type
NpmRebuildSettingsExtensions

Syntax

public static NpmRebuildSettings AddPackage(this NpmRebuildSettings settings, string packageName)

Parameters

Name Type Description
settings NpmRebuildSettings The settings.
packageName string Name of the package.

Return Value

Type Description
NpmRebuildSettings The settings instance with packageName added to Packages.