Super simple package that allows you to run concurrent processes across multiple shell types, similar to concurrently, but without burden of external dependencies for functionality that useless in 99% cases.
So if you just want to run several processes in parallel on multiple platforms and don't want to bring extra dependencies, then it's for you.
npm i -g 7ohm
In command line:
7ohm "command1 arg1 arg2" "command2 arg1 arg3"
In package.json scripts section:
"scripts": {
"command1": "command1 arg1 arg2",
"command2": "command1 arg1 arg2",
"dev": "7ohm \"npm run command1\" \"npm run command2\""
}
...or even better (supports shortcuts for package manager scripts of npm, yarn and pnpm now!):
"scripts": {
"command1": "command1 arg1 arg2",
"command2": "command1 arg1 arg2",
"dev": "7ohm npm:command1 npm:command2"
}
If you want to make PR, please keep it simple and NO EXTRA DEPENDENCIES. Feel free to report any bugs since it was tested only on windows in bash and powershell by me.