git badges for your @magic project.
npm install --save-exact @magic-modules/git-badges
// in any component view
const component = {
View: () => GitBadges({
// shows npm, travis, coveralls appveyor and greenkeeper badges with this project
project: 'user/project',
// optional
// (use if url to badge for one service is different to project above)
// every one of this arguments can be false to hide a certain badge
npm: 'user/project' || false,
travis: 'user/project' || false,
coveralls: 'user/project' || false,
appveyor: 'user/project' || false,
greenkeeper: 'user/project' || false,
// optional, master is default value
branch: 'master',
}),
}
first commit
use @magic npm packages instead of github for installs
fix installation typo in readme
- require node 13.5.0
- add node badge
- allow badges not to have a link
- add margin to top and bottom
- make image height relative to font-height
make images a bit smaller (1.3em instead of 1.5em) this makes them fit on a line if max-width is 1200px
component: images have a default height in their html tag now. style: image now has height of 23px and margin of 15px 0.
fix: badges are clickable (again)
- greenkeeper shutting down, removed badge.
- added license badge
bump required node version to 14.2.0
bump required node version to 14.15.4
update dependencies
...