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
Creates a npm package using the settings returned by a configurator.
Syntax
public static IEnumerable<FilePath> NpmPack(this ICakeContext context, Action<NpmPackSettings> configurator)
Examples
NpmPack(settings => settings.WithLogLevel(NpmLogLevel.Verbose));
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
| CakeAliasCategoryAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| configurator |
Action<NpmPackSettings> |
The settings configurator. |
Return Value
| Type |
Description |
| IEnumerable<FilePath> |
List of created packages. |