Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit 20e6bc7

Browse files
author
Joe Attardi
committed
Add development instructions to README
1 parent 2856256 commit 20e6bc7

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

README.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,44 @@ Will be `true` if the picker is currently visible, and `false` if not.
8080

8181
Adds an event listener. Currently there is only one event:
8282

83-
* `emoji`: Fired when an emoji is picked. The callback is called with a single argument, the emoji character that was picked.
83+
* `emoji`: Fired when an emoji is picked. The callback is called with a single argument, the emoji character that was picked.
84+
85+
## Development
86+
87+
The easiest way to hack on Emoji Button is to use the examples page.
88+
89+
### Clone the repository
90+
91+
git clone https://github.com/joeattardi/emoji-button.git
92+
93+
### From the repository root
94+
95+
#### Install dependencies
96+
97+
npm install
98+
99+
#### Set up the link
100+
101+
npm link
102+
103+
#### Start the build/watch loop
104+
105+
npm run build:watch
106+
107+
### From the `examples` subdirectory
108+
109+
#### Install dependencies
110+
111+
npm install
112+
113+
#### Link the library
114+
115+
npm link emoji-button
116+
117+
#### Start the dev server
118+
119+
npm start
120+
121+
### Open the page
122+
123+
http://localhost:5000

0 commit comments

Comments
 (0)