A set of aliases for Cake to help with running Npm (Node Package Manager) commands.
#addin nuget:?package=Cake.Npm&version=4.0.0
dotnet add package Cake.Npm --version 4.0.0
<PackageReference Include="Cake.Npm" Version="4.0.0" />
Aliases
Npm ViewVersion aliases.
Use this to view package versions.
For other functions of npm version, see:
AddUser
NpmAddUser |
Adds user using the settings returned by a configurator. |
NpmAddUser |
Adds user using the specified settings. |
BumpVersion
NpmBumpVersion |
Bump the version of the package using the settings returned by a configurator. |
NpmBumpVersion |
Bump the version of the package using the specified settings. |
NpmBumpVersion |
Bump the version of the package. |
Ci
NpmCi |
Cis packages using the settings returned by a configurator. |
NpmCi |
Cis packages using the specified settings. |
NpmCi |
Cis all packages for the project in the current working directory. |
Install
NpmInstall |
Installs packages using the settings returned by a configurator. |
NpmInstall |
Installs packages using the specified settings. |
NpmInstall |
Install one or more packages to the project in the current working directory. |
NpmInstall |
Installs packages for the project in the current working directory. |
Pack
NpmPack |
Creates a npm package using the settings returned by a configurator. |
NpmPack |
Creates a npm package using the specified settings. Package will be created in the current working directory. |
NpmPack |
Creates a npm package from a specific source. Package will be created in the current working directory. |
NpmPack |
Creates a npm package from the current working directory. Package will be created in the current working directory. |
Prune
NpmPrune |
Runs npm prune using the settings returned by a configurator. |
NpmPrune |
Runs npm prune with the specified settings. |
NpmPrune |
Runs npm prune from the current folder. |
Publish
NpmPublish |
Publishes a npm package using the settings returned by a configurator. |
NpmPublish |
Publishes a npm package based on the specified settings. |
NpmPublish |
Publishes the npm package created from a specific source. |
NpmPublish |
Publishes the npm package in the current working directory. |
Rebuild
NpmRebuild |
Rebuild packages using the settings returned by a configurator. |
NpmRebuild |
Rebuilds packages using the specified settings. |
NpmRebuild |
Rebuild one or more packages to the project in the current working directory. |
NpmRebuild |
Rebuilds packages for the project in the current working directory. |
Run-Script
NpmRunScript |
Runs a npm script with the specified settings. |
NpmRunScript |
Runs a npm script using the settings returned by a configurator. |
NpmRunScript |
Runs a npm script defined in the package.json from the current folder with specific arguments. |
NpmRunScript |
Runs a npm script defined in the package.json from the current folder. |
Set
NpmSet |
Sets an npm configuration setting returned by a configurator. |
NpmSet |
Sets an npm configuration setting. |
NpmSet |
Sets an npm configuration setting. |
Update
NpmUpdate |
Updates all packages for the project using the settings returned by a configurator. |
NpmUpdate |
Updates all packages for the project using the specified settings. |
NpmUpdate |
Updates all packages for the project in the current working directory. |
Version
NpmVersion |
Versions all packages for the project in the current working directory using the settings returned by a configurator. |
NpmVersion |
Versions all packages for the project in the current working directory using the specified settings. |
NpmVersion |
Versions all packages for the project in the current working directory. |
NpmViewVersion |
View the version of a package using the settings returned by a configurator. |
NpmViewVersion |
View the version of a package using the specified settings. |
NpmViewVersion |
View the version of a package. |