Yeoman generator for react packages
Ensure that you have Yeoman installed as a global module
npm install -g yo
npm install -g generator-react-pkg
Follow through the guided steps then,
And just like that you'll have an npm-publishable react library!
Double Check your package.json!