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 specified settings.
Package will be created in the current working directory.
Syntax
public static IEnumerable<FilePath> NpmPack(this ICakeContext context, NpmPackSettings settings)
Examples
var settings =
new NpmPackSettings
{
LogLevel = NpmLogLevel.Verbose
};
NpmPack(settings);
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
| CakeAliasCategoryAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| settings |
NpmPackSettings |
The settings. |
Return Value
| Type |
Description |
| IEnumerable<FilePath> |
List of created packages. |