Nope.  That's the cool thing about npm scripts.  All bin dirs from all installed modules are placed on the path before the script is run.  So because you depend on mocha, you can use it in an npm script as if it were globally installed.  Trust me, I don't do global installs :)