- Make changes to
build/emoji.js.template
- Update the
emoji-data
sub-module:cd build/emoji-data && git pull
, update dependency inpackage.json
- Rebuild the library with
npm run build
in the root directory - Update version history in
CHANGES.md
- Put updated version number in
package.json
- Merge PR on GitHub
- Add a Git tag
npm publish
build.php [--tpl=<tpl>] [--skip-nq]
--tpl=<tpl>
- provide a custom template to build from, instead of the defaultbuild/emoji.js.template
--skip-nq
- skip conversion of non qualified emoji bytes. This avoids matching plain characters like © as an emoji.