NpmInstallSettingsExtensions.

ForProduction(NpmInstallSettings) Method

Summary

Defines that npm should ignore modules listed in devDependencies.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.Install
Containing Type
NpmInstallSettingsExtensions

Syntax

public static NpmInstallSettings ForProduction(this NpmInstallSettings settings)

Parameters

Name Type Description
settings NpmInstallSettings The settings.

Return Value

Type Description
NpmInstallSettings The settings instance with Production set to true.