NpmCiAliases.

NpmCi(ICakeContext, NpmCiSettings) Method

Summary

Cis packages using the specified settings.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Containing Type
NpmCiAliases

Syntax

public static void NpmCi(this ICakeContext context, NpmCiSettings settings)

Examples

Use specific log level ('npm ci')

var settings = 
        new NpmCiSettings 
        {
            LogLevel = NpmLogLevel.Verbose
        };
    NpmCi(settings);

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings NpmCiSettings The settings.

Return Value

Type Description
void