postSafely Migrating Away From "prepublish" with npm 4
The prepublish script in npm has been contentious for quite some time, and in npm 4 it's finally been deprecated, in the first step on the long road to a real fix. If you're currently using prepublish to ensure certain tasks get run before publish though, actually putting this into action in a development team isn't as easy as it sounds. The original prepublish script problem was that it not only…
December 19, 2016 / 3 min