NpmInstallSettingsExtensions.

AddPackage(NpmInstallSettings, string) Method

Summary

Install a package by name, version/tag.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.Install
Containing Type
NpmInstallSettingsExtensions

Syntax

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

Parameters

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

Return Value

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