The only thing I can think of is writing a package.json file (with dependencies like "mocha") and not publish it to npm.
--