npm run in separate shells code example
Example 1: package json scripts multiple commands
"start": "webpack && node server/server.js"
Example 2: npm run custom script
# In your package.json you defined a custom script "custom"
# You can run it using
npm run custom