Table of Contents

npm

Install dependencies, run scripts, pack, publish, and test packages with npm.

Entry points

Tools.Npm.CleanInstall

Performs a clean, lockfile-based dependency install.

public static NpmCleanInstall CleanInstall { get; }

Property Value

NpmCleanInstall

Tools.Npm.Install

Installs dependencies or adds packages to a project.

public static NpmInstall Install { get; }

Property Value

NpmInstall

Tools.Npm.Run

Runs a package script.

public static NpmRun Run { get; }

Property Value

NpmRun

Tools.Npm.Test

Runs the package test script.

public static NpmTest Test { get; }

Property Value

NpmTest

Tools.Npm.Pack

Creates a package tarball.

public static NpmPack Pack { get; }

Property Value

NpmPack

Tools.Npm.Publish

Publishes a package to the configured registry.

public static NpmPublish Publish { get; }

Property Value

NpmPublish

Related types