1.0.6 • Published 7 years ago
peer-tester v1.0.6
peer-tester
Test a project with every valid peer dependency.
Installation
npm install peer-tester --save-dev
Usage
Add & peer-tester
to your npm test
script, e.g.
{
"peerDependencies": {
"react": "*"
},
"devDependencies": {
"jest": "*",
"peer-tester": "*",
"react": "*"
},
"scripts": {
"test": "jest && peer-tester"
}
}
This will first run your tests for the currently installed configuration, then run your tests again for each version of "react" that matches "*".
To see options, run peer-tester --help
.
License
MIT