Test nested node packages with
If you write nested npm packages, it becomes a pain to test pushd into subpackages just to run
nestest in the top packages nesting script, and
npm test will be called on all nested subpackages!
If you want to run other commands recursively on nested subpackages, take a look at
install. You can change both the command and the argument:
var nestest =nestestcommand = '/path/to/new/shell/command/to/execute/recursively'nestestargs = '-f' // must be an array// Simply call bootstrap when you're ready to roll!nestest
Be sure your tests pass by using
npm test. Pull requests will be checked using CircleCI.
stderrfor programmatic use.