NpmPackAliases.

NpmPack(ICakeContext) Method

Summary

Creates a npm package from the current working directory. Package will be created in the current working directory.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Containing Type
NpmPackAliases

Syntax

public static IEnumerable<FilePath> NpmPack(this ICakeContext context)

Examples

NpmPack();

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.

Return Value

Type Description
IEnumerable<FilePath> List of created packages.