Pulse7
9/5/2017 - 6:43 PM

concurrent scripts npm-run-all, silent mode npm start -s

Tip: dont name scripts with ? npm start -s // -s for silent, will remove noise from output window

"scripts": {
    "prestart": "node buildScripts/startMessage.js",
    "start": "npm-run-all --sequential isSecure open:src",
    "open:src":"node buildScripts/srcServer.js",
    "isSecure":"nsp check",
    "localtunnel":"lt --port 3000 --subdomain mark",
    "share":"npm-run-all --parallel open:src localtunnel"
  },
"devDependencies": {
  "npm-run-all": "3.1.1"
}