NpmInstallSettingsExtensions.

AddScopedPackage(NpmInstallSettings, string, string) Method

Summary

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

Syntax

public static NpmInstallSettings AddScopedPackage(this NpmInstallSettings settings, string packageName, string scope)

Parameters

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

Return Value

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