fmoo / react-typeahead

Pure react-based typeahead and typeahead-tokenizer
ISC License
677 stars 231 forks source link

How can i use fork #159

Closed igoldny closed 8 years ago

igoldny commented 8 years ago

I forked this project to make some changes but before i send you working pull request i want to use it in my project. But when i add to package.json "react-typeahead": "git@repo" i get error from webpack that lib is missing, now i see that lib created on npm publish which not been called for my fork. what am i doing wrong and how can i make it work? thnx

fmoo commented 8 years ago

Hi @igoldny - did you figure it out? I think you have to run npm run lib (or npm run prepublish) before calling npm install /path/to/react-typeahead-git/ from the repository where you want to use it.

I believe it requires gulp be installed globally as well.

igoldny commented 8 years ago

No I didn't, I just removed lib from gitignore which I see that most of the forks here did. I don't want to add any extra scripts to my work flow nor my CI servers.