NpmPruneSettingsExtensions.

Json(NpmPruneSettings) Method

Summary

The changes npm prune made (or would have made with DryRun) are printed as a JSON object.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.Prune
Containing Type
NpmPruneSettingsExtensions

Syntax

public static NpmPruneSettings Json(this NpmPruneSettings settings)

Parameters

Name Type Description
settings NpmPruneSettings The settings.

Return Value

Type Description
NpmPruneSettings The settings instance with Json set to true.