NpmRunScriptAliases Class

Summary

Npm RunScript aliases
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["NpmRunScriptAliases"] class Type type-node

Syntax

public static class NpmRunScriptAliases

Attributes

Type Description
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Methods

Name Value Summary
NpmRunScript(ICakeContext, NpmRunScriptSettings) void
Runs a npm script with the specified settings.
static
NpmRunScript(ICakeContext, string, Action<NpmRunScriptSettings>) void
Runs a npm script using the settings returned by a configurator.
static
NpmRunScript(ICakeContext, string, IEnumerable<string>) void
Runs a npm script defined in the package.json from the current folder with specific arguments.
static
NpmRunScript(ICakeContext, string) void
Runs a npm script defined in the package.json from the current folder.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin