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 the npm package created from a specific source.
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