npm-lifecycle

WebJar for npm-lifecycle

License

License

Artistic-License-2.0
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

npm-lifecycle
Last Version

Last Version

3.1.5
Release Date

Release Date

Type

Type

jar
Description

Description

npm-lifecycle
WebJar for npm-lifecycle
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/npm/npm-lifecycle

Download npm-lifecycle

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/npm-lifecycle/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>npm-lifecycle</artifactId>
    <version>3.1.5</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/npm-lifecycle/
implementation 'org.webjars.npm:npm-lifecycle:3.1.5'
// https://jarcasting.com/artifacts/org.webjars.npm/npm-lifecycle/
implementation ("org.webjars.npm:npm-lifecycle:3.1.5")
'org.webjars.npm:npm-lifecycle:jar:3.1.5'
<dependency org="org.webjars.npm" name="npm-lifecycle" rev="3.1.5">
  <artifact name="npm-lifecycle" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='npm-lifecycle', version='3.1.5')
)
libraryDependencies += "org.webjars.npm" % "npm-lifecycle" % "3.1.5"
[org.webjars.npm/npm-lifecycle "3.1.5"]

Dependencies

compile (8)

Group / Artifact Type Version
org.webjars.npm : umask jar [1.1.0,2)
org.webjars.npm : which jar [1.3.1,2)
org.webjars.npm : graceful-fs jar [4.1.15,5)
org.webjars.npm : node-gyp jar [5.0.2,6)
org.webjars.npm : resolve-from jar [4.0.0,5)
org.webjars.npm : uid-number jar [0.0.6]
org.webjars.npm : byline jar [5.0.0,6)
org.webjars.npm : slide jar [1.1.6,2)

Project Modules

There are no modules declared in this project.

Note: pending imminent deprecation

This module will be deprecated once npm v7 is released. Please do not rely on it more than absolutely necessary.

The lifecycle script runner used in npm v7 is @npmcli/run-script. Please use that module moving forward.


npm-lifecycle

npm-lifecycle is a standalone library for executing packages' lifecycle scripts. It is extracted from npm itself and intended to be fully compatible with the way npm executes individual scripts.

Install

$ npm install npm-lifecycle

Table of Contents

Example

// idk yet

API

> lifecycle(name, pkg, wd, [opts]) -> Promise

Arguments
  • opts.stdio - the stdio passed to the child process. [0, 1, 2] by default.
Example
lifecycle()
org.webjars.npm

npm

node package manager

Versions

Version
3.1.5
3.1.4
2.1.1
2.1.0
2.0.3
2.0.1
2.0.0