UNPKG

git-auto-badger

Version:

A npm cli tool that reads your package.json/project metadata and git config and connects your readme with multiple badge providers (shields.io, badgen.net etc)

30 lines (25 loc) 644 B
const types = require("./types"); const ciProviders = { "./.gitlab-ci.yml": types.GITLAB, "./appveyor.yml": types.APPVEYOR, "./.travis.yml": types.TRAVIS, "./.github/workflows/": types.GITHUB } const projectRTProviders = { "./package.json": types.NODEJS, "./requirements.txt": types.PYTHON } const coverageProviders = { "./.coveralls.yml": types.COVERALLS, "./codecov.yml": types.CODECOV } const packageManagerProviders = { "./package.json": types.NPM, "./requirements.txt": types.PIP } module.exports = { ciProviders, projectRTProviders, coverageProviders, packageManagerProviders }