Created by: zpao
Lifecycle hooks on npm scripts are fun, you can pre
and post
anything. This avoids using &&
in a script which can be a bit harder to debug (not really a cross-platform concern since &&
should work on Windows). FWIW, I'm using this and can confirm that it works.