What happens when I type npm run <command>
?
Is the <command> passed to the sh shell, like:
sh -c <command>
with additional local variables added to the shell, ie a path to the node_modules/.bin
?
I thought npm works only in JavaScript universe by using node, but it seems there's a lot more going on out there. How &
and &&
are handled? Is globstar safe to use?