Giter Club home page Giter Club logo

gulp-git-hooks-demo's Introduction

Gulp Git Hooks Demo

Collaborators: Varvara Tzika & Maria Cristina Di Termine


This project is consisted of a generic contact form validator, a contact form to show the use of the validator, the jasmine unitests, a gulp build file with multiple tasks, a precommit hook file.

Instruction:

  1. npm install -g gulp
  2. git clone https://github.com/vtzika/gulp-git-hooks-demo.git
  3. npm install
  4. gulp (it will run the default task wich is consisted of multiple tasks)

Git Precommit hook

If you copy the precommit_hook file to your .git/hooks/precommit file, it will run the tests, run the JShint checks and it will check your coding style based on the airbnb JS guidelines before commiting to your repository. If one of those will fail, it will not commit.

mv precommit_hook .git/hooks/precommit

Note: The airbnb guidelines for the jscs gulp task can be changed by changing the .jscsrc file.

gulp-git-hooks-demo's People

Contributors

vtzika avatar mariacristina88 avatar

Stargazers

ido barnea avatar Carlos Yakimov avatar Juan pablo avatar Alex Kalyvitis avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

lkbhargav

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.