How to run NPM scripts without issues when they don't exist
A while back I started consolidating all my release scripts and ran into an issue, that on the second look is quite obvious to solve, but I still wanted to share it with you. You might run into situations, where you have scripts that are only relevant for certain builds or environments.