What strategies allow running several npm scripts concurrently?

Package file includes:

{"cmdA": "nodemon transpile main.js", "cmdB": "webpack-serve"}

I require both scripts to run at the same time with visible outputs. How can I achieve this?

hey try using the concurrently packge. run something like “concurrently ‘npm run cmdA’ ‘npm run cmdB’” to get both outputs. works great for me