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
Publishes a npm package based on the specified settings.
Syntax
public static void NpmPublish(this ICakeContext context, NpmPublishSettings settings)
Examples
var settings =
new NpmPublishSettings
{
LogLevel = NpmLogLevel.Verbose,
Source = "c:\mypackagesource"
};
NpmPublish(settings);
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
settings |
NpmPublishSettings |
The settings. |
Return Value