Skip to content

Files

Failed to load latest commit information.

Latest commit

 

History

History

helpers

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

OpenMoji Helpers Scripts

This folder helpers/ Contains various helper scripts e.g. to export to .png and .svg, generate skintones variants, enforce the OpenMoji color palette etc

Big helpers

  • npm run generate generate everything
  • npm run generate-font generate the OpenMoji fonts

Little helpers

  • clean.sh cleans up the build directories
  • npm run cache-clear / npm run cc clears build system cache
  • npm run export-emojipedia export all OpenMojis to 512x512 png files for listing at Emojipedia
  • npm run export-openmoji-ios copies and updates all assets in the openmoji-ios repository
  • npm run export-pdf export all OpenMojis to pdf files
  • npm run export-png export all OpenMojis to 72x72 and 618x618 png files
  • npm run export-svg export all OpenMojis to svg files
  • npm run export-zip export zip packages for release
  • find-emojis.js sub script used by generate.sh
  • force-color-palette-svg.js helper to force the OpenMoji colors for all svg files in the src folder
  • npm run generate-data-tables generate files in data folder eg. openmoji.json
  • generate-font-css.js generate css file to be used with OpenMoji fonts
  • generate-font-glyphs.js copy all svg glyph files to font folder in preparation for font generator
  • npm run lint-sh lint all bash script in the helpers folder
  • npm run pretty-src-svg pretty all svg files in the src folder
  • generate-index-html.js generate overview grid index.html
  • generate-index-list-html.js generate overview list index-list.html
  • import-svg-to-src-folder.js import new OpenMojis to src folder
  • prettyfy-figma-svg.js prettfy svg files exported by Figma
  • npm run show-extras-hexcodes shows an overview of private use hexcodes of the openmoji-extras

Additional Dependencies

Some of the helper scripts have additional dependencies, which are not cover by npm install:

librsvg

  • brew install librsvg (macOS)
  • apt-get install librsvg2-bin (ubuntu)

pngquant

  • brew install pngquant (macOS)
  • apt-get install pngquant (ubuntu)

shellcheck

  • brew install shellcheck (macOS)

License

Code licensed under the GNU Lesser General Public License v3 (LGPL-3.0)

License: LGPL-3.0