This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Npm.
Summary
If true, 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
- Npm
Prune Settings Extensions
Syntax
public static NpmPruneSettings Json(this NpmPruneSettings settings, bool json)
Parameters
| Name | Type | Description |
|---|---|---|
| settings | NpmPruneSettings | The settings. |
| json | bool | Whether or not to print json. |
Return Value
| Type | Description |
|---|---|
| NpmPruneSettings | The settings instance with Json set to json. |
