1.1.0 • Published 9 years ago

gulp-task-emoji-commit v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

gulp-emoji-commit

What?

Emojis as a way to indicate commits purpose are awesome!

However, remembering the differents emojis for the different kind of commits can be tedious.

This gulp task make this process easy!

npm.io

Usage

npm install gulp-task-emoji-commit

Then add this to your Gulpfile.js

var gulp = require('gulp'),
    emojiCommit = require('gulp-task-emoji-commit');

emojiCommit(gulp, {
  taskName: 'commit', // optional: falls back to "commit"
  choices: require('./emoji-choices.js'), // required
  emojiMsg: 'Choose an awesome emoji!', // optional
  commitInputMsg: 'Now enter your commit message, yo!' // optional
});

Emojis list

In this examples I use a js file as a list of emojis. You can use what you want as long as it's an array of strings formatted like this

[':racehorse: performance related'] // :emoji_shortcode: Why is this emoji so awesome?

Voilà, happy commiting! :tada: :boom:

Contribute

NPM Page

Fork the repo, do your stuff, install dependencies, and open a pull request so we can make all the commits awesome!