Skip to content

Commit

Permalink
Update dev instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Sep 17, 2022
1 parent 2e97afb commit f91cef2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,19 @@ This means one entry of 👋 represents its 5 variations– 👋🏻, 👋🏼,

## Development

1. `npm run download`
1. `npm install`

Install dependencies.

2. `npm run download`

Download the latest data dump from unicode.org. Update the version variable in this file when a new version is available. Experiment with a version by passing an argument for version number: `npm run download 13.0`.

2. `npm run build`
3. `npm run build`

Parse and format the downloaded data into different files for distribution. This script also generates `stats.json` for use in test. Update the parser if the content format from unicode data has changed.

3. `npm test`
4. `npm test`

Run test that ensures the build data matches the count of emoji parsed from the data source.

Expand Down

0 comments on commit f91cef2

Please sign in to comment.