⚠️ This repository is now archived ⚠️
The functionality implemented here has been provided by https://github.com/pact-foundation/pact-node instead
Installation wrapper for pact pact-standalone executable.
On install, this package selects and installs the correct pact-mock-service and pact-provider-verifier executable for your environment. The platform-specific binaries pact-mock-service
and pact-provider-verifier
can be found inside the node_modules/.bin directory.
$ npm i @pact-foundation/pact-standalone
$ node_modules/.bin/pact-mock-service --port 1234
$ node_modules/.bin/pact-provider-verifier <args>
NOTE: If you're on OSX, you'll need Bash 4 installed for the scripts to work.