NpmPublishAliases.

NpmPublish(ICakeContext, string) Method

Summary

Publishes the npm package created from a specific source.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Containing Type
NpmPublishAliases

Syntax

public static void NpmPublish(this ICakeContext context, string source)

Examples

NpmPublish("c:\mypackagesource");

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
source string Source to publish. A folder containing a package.json file or an url or file path to a gzipped tar archive containing a single folder with a package.json file inside.

Return Value

Type Description
void