vaffel / react-components

Searchable repository of React-components
http://react-components.com/
MIT License
164 stars 22 forks source link

Add postinstall script to fetch data. Update doc. #32

Closed tiagojdf closed 8 years ago

tiagojdf commented 8 years ago

I have added a postinstall step to the package.json, this way the script is run to update the database. I have also updated the docs.

rexxars commented 8 years ago

This looks great! I'm a bit skeptical to running the script on postinstall though - it makes deployment and updating dependencies etc a bit weird. If you rename the npm script to something else and document the use/setup of it, I'd happily merge this.

tiagojdf commented 8 years ago

Updated. Let me know if you want me to change anything.

kbrabrand commented 8 years ago

:+1: