depcheck-web
Post depcheck result to depcheck service and generate report and badge.
Usage
- Install depcheck and depcheck-web from npm.
- Add
depcheck --json | depcheck-web
to script section in your.travis.yml
file.
Example
Check this project's .travis.yml
file. It invokes the npm run depcheck-web
command in script section.
Then, in package.json
file, depcheck-web
script is defined as depcheck --json | node ./bin/depcheck-web
(self-check) command.
Known issues
- Currently, only Travis CI builds from GitHub provider is supported.
License
MIT License.