This is a feature request to add ./node_modules/.bin/ to the $PATH for ShellJS scripts, which would change the behavior for the shell.exec() function.
This is something offered by shelljs-nodecli, and I see no reason why this couldn't be part of ShellJS-proper. This is very useful for writing a shelljs script that takes advantage of a binary installed by a dependency, such as jshint:
shell.exec('jshint .');
// instead of:
shell.exec('./node_modules/.bin/jshint .');
I see this as being useful in writing gulpfiles or something of that sort.
This could either be the default behavior or not, and could be exposed as a boolean option such as config.nodepath = true. I'm open to naming suggestions for the actual option.