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
Runs a npm script defined in the package.json from the current folder.
Syntax
public static void NpmRunScript(this ICakeContext context, string scriptName)
Examples
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
scriptName |
string |
Name of the script to execute as defined in package.json. |
Return Value