NpmVersionAliases.

NpmVersion(ICakeContext) Method

Summary

Versions all packages for the project in the current working directory.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Containing Type
NpmVersionAliases

Syntax

public static string NpmVersion(this ICakeContext context)

Examples

var versionString = NpmVersion();

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.

Return Value

Type Description
string