I wanted to run postinstall only when installing locally and not when my package is being installed as a dependency.

For example, x has a post install script and y has the dependency x. I want to run it when running npm install inside x and not when the packages are being installed for y. Is there a good way to do this?

0

There are 0 answers