Npm

Summary

Npm Version aliases

Ci

NpmCi(ICakeContext) Cis all packages for the project in the current working directory.
Addin from Cake.Npm.dll
NpmCi(ICakeContext, NpmCiSettings) Cis packages using the specified settings.
Addin from Cake.Npm.dll

Install

NpmInstall(ICakeContext) Installs packages for the project in the current working directory.
Addin from Cake.Npm.dll
NpmInstall(ICakeContext, Action<NpmInstallSettings>) Installs packages using the settings returned by a configurator.
Addin from Cake.Npm.dll
NpmInstall(ICakeContext, NpmInstallSettings) Installs packages using the specified settings.
Addin from Cake.Npm.dll
NpmInstall(ICakeContext, string[]) Install one or more packages to the project in the current working directory.
Addin from Cake.Npm.dll

Pack

NpmPack(ICakeContext) Creates a npm package from the current working directory. Package will be created in the current working directory.
Addin from Cake.Npm.dll
NpmPack(ICakeContext, Action<NpmPackSettings>) Creates a npm package using the settings returned by a configurator.
Addin from Cake.Npm.dll
NpmPack(ICakeContext, NpmPackSettings) Creates a npm package using the specified settings. Package will be created in the current working directory.
Addin from Cake.Npm.dll
NpmPack(ICakeContext, string) Creates a npm package from a specific source. Package will be created in the current working directory.
Addin from Cake.Npm.dll

Publish

NpmPublish(ICakeContext) Publishes the npm package in the current working directory.
Addin from Cake.Npm.dll
NpmPublish(ICakeContext, Action<NpmPublishSettings>) Publishes a npm package using the settings returned by a configurator.
Addin from Cake.Npm.dll
NpmPublish(ICakeContext, NpmPublishSettings) Publishes a npm package based on the specified settings.
Addin from Cake.Npm.dll
NpmPublish(ICakeContext, string) Publishes the npm package created from a specific source.
Addin from Cake.Npm.dll

Rebuild

NpmRebuild(ICakeContext) Rebuilds packages for the project in the current working directory.
Addin from Cake.Npm.dll
NpmRebuild(ICakeContext, Action<NpmRebuildSettings>) Rebuild packages using the settings returned by a configurator.
Addin from Cake.Npm.dll
NpmRebuild(ICakeContext, NpmRebuildSettings) Rebuilds packages using the specified settings.
Addin from Cake.Npm.dll
NpmRebuild(ICakeContext, string[]) Rebuild one or more packages to the project in the current working directory.
Addin from Cake.Npm.dll

Run-Script

NpmRunScript(ICakeContext, NpmRunScriptSettings) Runs a npm script with the specified settings.
Addin from Cake.Npm.dll
NpmRunScript(ICakeContext, string) Runs a npm script defined in the package.json from the current folder.
Addin from Cake.Npm.dll
NpmRunScript(ICakeContext, string, Action<NpmRunScriptSettings>) Runs a npm script using the settings returned by a configurator.
Addin from Cake.Npm.dll
NpmRunScript(ICakeContext, string, IEnumerable<string>) Runs a npm script defined in the package.json from the current folder with specific arguments.
Addin from Cake.Npm.dll

Set

NpmSet(ICakeContext, NpmSetSettings) Sets an npm configuration setting.
Addin from Cake.Npm.dll
NpmSet(ICakeContext, string, string, bool) Sets an npm configuration setting.
Addin from Cake.Npm.dll

Update

NpmUpdate(ICakeContext) Updates all packages for the project in the current working directory.
Addin from Cake.Npm.dll
NpmUpdate(ICakeContext, NpmUpdateSettings) Updates all packages for the project in the current working directory.
Addin from Cake.Npm.dll

Version

NpmVersion(ICakeContext) Versions all packages for the project in the current working directory.
Addin from Cake.Npm.dll