0.2.3 • Published 8 years ago

commits-element v0.2.3

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

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

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

Contributing

License

© 2015-2016 Charbel Rami

MIT