A Yeoman generator for simple React packages.
npm install -g generator-react-package
To transpile the source on the fly use:
npm run dev
To build the package and make it ready for publishing to npmjs.com run:
npm run build
Then the transpiled packaged can be published directly from the build directory:
cd build
npm publish