Problem: You want to run multiple npm scripts at the same time


Problem:
You want to run multiple npm scripts at the same time.

Solution:
1. Use npm-run-all.
2. Give related scripts a common prefix.

Then you can run scripts in parallel like this:

My naming convention: Use a common prefix for related scripts, followed by a colon.

Any scripts with a colon in the name are intended to be run *as a group.*

This allows me to use a wildcard to run them together, via "run-p".

Here's npm-run-all: https://www.npmjs.com/package/npm-run-all

View original on X