In my package.json I have these two scripts:
package.json
\"scripts\": { \"start-watch\": \"nodemon run-babel index.js\", \"wp-server\": \"webpack-
You can use one & for parallel run script
&
"dev": "npm run start-watch & npm run wp-server"
Reference link