npm i run-all-the-things -D
And run in NPM scripts
things test lint
npx run-all-the-things test lint
const run = require('run-all-the-things'); await run([ 'npm t', 'npm run lint', 'echo "number three"' ]);