I have some start scripts that look like this:
"nodemonBabel": "nodemon src/index.js --exec babel-node",
"nodemonLint": "nodemon src/index.js --exec 'npm run lint && node'" 
I use npm run nodemonBabel in cli to watch my code with nodemon and trigger Babel to transpile it on code change. I also use npm run nodemonLint to watch with nodemon while triggering eslint on code change.
How do I combine both scripts into a single line? I.e, watch my code with nodemon, lint and transpile with Babel from a single script which I don't have to rerun for every change?
 
     
    