This commit updates the stack of the gitmoji website to Next.js. This was a thing I wanted to do a long time ago.
Our current stack was a little bit outdated and had issues with the Developer UX. The concept is the same, the whole site is built into a Static HTML site.
Also we can benefit from using React ⚛️❤️
The current stack will be:
Next.js
React
Flow
Scss
Prettier
Jest
Add a new property entity inside of the gitmoji element, that contains the html entity in hexadecimal format for the emoji. Use entity instead of emoji to provide a better browser support. Update schema
Add a jsonlint to validate gitmojis.json against a JSON Schema. This will ensure that the JSON file is well structured and with all the required fields, update package.json script to add jsonvalidate script.