NpmCiSettingsExtensions.

ForProduction(NpmCiSettings) Method

Summary

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

Syntax

public static NpmCiSettings ForProduction(this NpmCiSettings settings)

Parameters

Name Type Description
settings NpmCiSettings The settings.

Return Value

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