Code Monkey home page Code Monkey logo

gitgraph.js's Introduction

gitgraph.js

Build Status devDependency Status

A JavaScript library to draw pretty git graphs in the browser.

Project page: http://gitgraphjs.com/

How to start

You have different options to start with the library:

Production files are available under the build/ directory.

Report a bug / Ask for a feature

You found some nasty bug or have a cool feature request? Just open a new issue.

Please have a look at the Issue Guidelines from Nicolas Gallagher before doing so.

Documentation

The JavaScript source code is documented with JSDoc.

Contributing

Editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org.

The project uses Grunt with convenient methods for our workflow. It's how we lint our code, run tests, generate documentation, etc. To use it, install the required dependencies as directed and then run the following Grunt commands.

Install Grunt

From the command line:

When completed, you'll be able to run the various Grunt commands provided from the command line.

> Need more information about how to get started with Grunt?

Available Grunt commands

test code - grunt test

Check source code against JSHint then runs unit tests with Jasmine.

generate documentation - grunt doc

Generate source code documentation into dist/docs/ (not versioned) with JSDoc.

compile a non-versioned release - grunt dist

Clean dist/ directory, lint code, output the minified release into dist/gitgraph.min.js and generate the documentation into dist/docs/.

compile a new release - grunt release

Lint code, output the source and minified releases into build/ and generate the official documentation into docs/.

open a live reload server - grunt server

For a better code experience, this grunt task opens a live server in your favorite browser. This server is automatically reloaded when you save a project file.

Please note that examples/index.html is the default file for testing ;)

Versioning

We use SemVer as a guideline for our versioning here.

What does that mean?

Releases will be numbered with the following format:

<major>.<minor>.<patch>

And constructed with the following guidelines:

  • Breaking backward compatibility bumps the <major> (and resets the <minor> and <patch>)
  • New additions without breaking backward compatibility bumps the <minor> (and resets the <patch>)
  • Bug fixes and misc. changes bumps the <patch>

Development version

Please note that until we pass v1.0.0 we are in development version.

That means you're using this code at your own risk until then, but we already love you =)

Authors and contributors

Nicolas Carlo - @nicoespeon } http://nicoespeon.com

Fabien Bernard - @fabien0102

Copyright and License

Copyright (c) 2013 Nicolas CARLO and Fabien BERNARD under the MIT license.

> What does that mean?

gitgraph.js's People

Contributors

fabien0102 avatar nicoespeon avatar ringlej avatar ddidier avatar claui avatar hpurmann avatar timlegrand avatar sourtin avatar

Stargazers

Michael Anthony avatar

Watchers

Michael Anthony avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.