"commandA": "npm index.js", "commandB": "npm server.js", "comandName": "npm-run-all --parallel commandA commandB",
Note --parallel is important else only commandA will run and not commandB
--parallel
commandA
commandB