Do you use NPM and have a need to combine scripts and run in parallel? Follow my tip here: https://jasong.us/3JzXeOH
#webdev #webdevelopment #javascript #js #npm #node #nodepackagemanager #devtip #devtips #developers #development #dev #web #webdevtip #scripts #scripting
All along, we’ve been able to run multiple NPM scripts in the same run command. Here’s the scenario: Imagine that we have a script that is called buildStaging and another called buildProduction. We could run both scripts out of the box with NPM by creating a new script, let’s call it build and setting the value to npm run buildStaging && npm run buildProduction. The problem with this is that buildProduction won’t start until buildStaging is complete.
Always fun when npm’s publish authentication route 404s.