README
generator-react-pkg
Yeoman generator for react packages
Installation
Ensure that you have Yeoman installed as a global module
npm install -g yo
Install generator-react-pkg
npm install -g generator-react-pkg
Run generator
yo react-pkg
Follow through the guided steps then,
cd <PACKAGE-NAME>
npm install
npm start
And just like that you'll have an npm-publishable react library!
Publish
Double Check your package.json!
npm publish