This project follows Git-Flow, and as such has master
and develop
branches.
- Install the appropriate EditorConfig plugin for your IDE/editor. This helps keep the code style consistent.
- Install PhantomJS. Make sure it's on your path / available when calling
phantomjs
from the command line. npm install -g gulp
npm install
- All tests:
npm test
- Just the browser ones:
phantomjs tests/phantom.js
- Just the Node ones:
node tests/node.js
Make sure you do the following:
- Run
gulp
Note: The build script will generate new *.min.{css,js}
files. If, for example, you only changed the JavaScript then don't bother committing emojify.min.css
.
Before a release, generate a commit log:
git log --pretty=format:"- %s" >> log.md
If you have rights to publish to npm, do the following first:
- Run
gulp update
. This will update the project with the latest emoji from emoji-cheat-sheet.com. - Run
gulp
- Run
gulp bump
- Run
npm publish