iarna

iarna/in-publish

Detect if we were run as a result of `npm publish`.

JavaScript
127
17
ISC License

This is a simple npm utility for detecting if a script is being run during an `npm publish` or `npm pack` command, versus during `npm install`. It's designed for Node.js developers who need to control when certain `prepublish` lifecycle scripts execute, particularly to avoid running publish-specific tasks during development installations.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

iarna's profile
iarna
11 contributions
lewiscowper's profile
lewiscowper
1 contributions
mightyiam's profile
mightyiam
1 contributions
isaacs's profile
isaacs
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet