NpmInstallSettingsExtensions.

AddPackage(NpmInstallSettings, Uri) Method

Summary

Install a package from a specific url.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.Install
Containing Type
NpmInstallSettingsExtensions

Syntax

public static NpmInstallSettings AddPackage(this NpmInstallSettings settings, Uri url)

Parameters

Name Type Description
settings NpmInstallSettings The settings.
url Uri Url to directory containing package.json (see npm docs)

Return Value

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