0.1.0 • Published 5 years ago
@hux-js/cli v0.1.0
CLI is the command line interface for Hux. It includes features such as API contract testing. This can be used in automated testing pipelines, or locally, to ensure your clients are compatible with the data returned from the server.
Installation
NPM
npm i @hux-js/cliYarn
yarn add @hux-js/cliBasic usage
Contract testing
Add the following script to the scripts object in package.json, where -d src/ is your app directory:
"test:contract": "hux test -d src/"
You can then call it with npm run test:contract.
Contributing
If you'd like to contribute please read our Code of Conduct & Contributing guides before doing so
Full Documentation - https://huxjs.org
0.1.0
5 years ago