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
NpmInstallSettings
.
- Assembly
- Cake
.Npm .dll - Namespace
- Cake
.Npm .Install - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["NpmInstallSettingsExtensions"]
class Type type-node
Syntax
public static class NpmInstallSettingsExtensions
Methods
Name | Value | Summary |
---|---|---|
AddPackage |
NpmInstallSettings |
Install a package by name, version/tag and scope.
static
|
AddPackage |
NpmInstallSettings |
Install a package by name and version/tag.
static
|
AddPackage |
NpmInstallSettings |
Install a package by name, version/tag.
static
|
AddPackage |
NpmInstallSettings |
Install a package from a specific url.
static
|
AddScopedPackage |
NpmInstallSettings |
Install a scoped package by name, version/tag.
static
|
ForProduction |
NpmInstallSettings |
Defines that npm should ignore modules listed in
devDependencies .
static
|
FromRegistry |
NpmInstallSettings |
Instructs npm to look for packages in the given registry.
static
|
InstallGlobally |
NpmInstallSettings |
Defines that the package should be installed globally.
static
|
InstallLocally |
NpmInstallSettings |
Defines that the package should be installed locally.
static
|
WithForce |
NpmInstallSettings |
Defines whether npm should fetch remote resources even if a local copy
exists on disk.
static
|
WithForce |
NpmInstallSettings |
Defines that npm should fetch remote resources even if a local copy
exists on disk.
static
|
WithNoOptional |
NpmInstallSettings |
Defines whether npm should prevent optional dependencies from being installed
static
|
With |
NpmInstallSettings |
Defines that npm should install optional dependencies
static
|
WithoutForce |
NpmInstallSettings |
Defines that npm should not fetch remote resources if a local copy exists on disk.
static
|
Without |
NpmInstallSettings |
Defines that npm should prevent optional dependencies from being installed
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|