5.1.2 • Published 3 years ago

@zkochan/npm-lifecycle v5.1.2

Weekly downloads
1
License
Artistic-2.0
Repository
github
Last release
3 years ago

npm-lifecycle npm version license Travis AppVeyor Coverage Status

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

Features

  • something cool

Contributing

The npm team enthusiastically welcomes contributions and project participation! There's a bunch of things you can do if you want to contribute! The Contributor Guide has all the information you need for everything from reporting bugs to contributing entire new features. Please don't hesitate to jump in if you'd like to, or even ask us questions if something isn't clear.

API

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

Arguments
  • opts.stdio - the stdio passed to the child process. [0, 1, 2] by default.
  • opts.runConcurrently - Boolean - false by default. If true, lifecycle scripts may run concurrently.
  • opts.extraEnv - Record<string, string> - add some extra env vars to the exec environment of the lifecycle script.
Example
lifecycle()
5.1.2

3 years ago

5.1.1

3 years ago

5.1.0

3 years ago

5.0.1

3 years ago

5.0.0

3 years ago

5.0.0-0

3 years ago

4.2.1

3 years ago

4.2.0

3 years ago

4.1.2

3 years ago

4.1.1

3 years ago

4.1.0

4 years ago

4.1.0-0

4 years ago

4.0.0

4 years ago

3.2.0

4 years ago

3.1.4

5 years ago

3.1.3

5 years ago

3.1.2

5 years ago

3.1.1

5 years ago

3.1.0

5 years ago

3.0.0

5 years ago

2.2.0

5 years ago

2.1.1

6 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.0.0

7 years ago