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
Extensions for
NpmPruneSettings
.
- Assembly
- Cake
.Npm .dll - Namespace
- Cake
.Npm .Prune - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["NpmPruneSettingsExtensions"]
class Type type-node
Syntax
public static class NpmPruneSettingsExtensions
Methods
Name | Value | Summary |
---|---|---|
AddPackage |
NpmPruneSettings |
If a package name is added, then only packages matching one of the supplied names are removed.
static
|
AddPackage |
NpmPruneSettings |
If a package name is added, then only packages matching one of the supplied names are removed.
static
|
DryRun |
NpmPruneSettings |
If true, then no changes will actually be made.
static
|
DryRun |
NpmPruneSettings |
Set so no changes will actually be made.
static
|
ForProduction |
NpmPruneSettings |
Defines whether npm should remove modules listed in
devDependencies .
static
|
ForProduction |
NpmPruneSettings |
Defines that npm should remove modules listed in
devDependencies .
static
|
Json |
NpmPruneSettings |
If true, the changes npm prune made (or would have made with DryRun) are printed as a JSON object.
static
|
Json |
NpmPruneSettings |
The changes npm prune made (or would have made with DryRun) are printed as a JSON object.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|