Skip to content

tool to run tests of your dependencies, to check they are compatible

License

Notifications You must be signed in to change notification settings

ssb-junkyard/compatibility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compatibility

tool to run tests of your dependencies, to check they are compatible

install

npm install -g compatibility

how

first, add a list of the dependencies you wish to test into your package.json

"compatibility": [
  "foo",
  "bar",
  "baz"
]

then run the compatibility command (or include it in your test script).

what

compatibility will first check that the devDependencies of any module you are testing are also included in your top level module. If a dependency is out of date, compatibility will exit with an error. It has updated your devDependencies, so run npm install and test again.

This time, all the tests should run (one at a time, in the order specified) hopefully they pass.

License

MIT

About

tool to run tests of your dependencies, to check they are compatible

Resources

License

Stars

Watchers

Forks

Packages

No packages published