commits-element
v0.2.3
Published
GitHub commits element. Lists commits on a repository using Polymer and GitHub API.
Downloads
2
Maintainers
Readme
Commits Element
Contents
Introduction
List commits on a repository using Polymer and GitHub API.
Installation
$ bower install commits-element
Usage
index.html
<!doctype html>
<html>
<head>
<script src="bower_components/webcomponentsjs/webcomponents-lite.min.js" async></script>
<link rel="import" href="bower_components/commits-element/commits-element.html">
</head>
<body>
<commits-element owner="polymer" repo="docs"></commits-element>
</body>
</html>
Development
- Clone the repository
cd
into directory and install local dependencies
$ cd commits-element && npm i && bower i
Run local server
$ polyserve
- Navigate to http://localhost:8080/components/commits-element/
Bump version
$ npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]
- Ensures the working tree is clean
- Bumps the version in package.json
- Updates the git index to match the working tree
- Creates a git tag
- Pushes all the refs, including annotated tags
- Publishes the package to the npm registry
Contributing
License
© 2015-2016 Charbel Rami