generator-react
Create a React library project scaffold.
Features
on development
- Write moden JavaScript code transpiled by Babel.
- Lint and pretty your code in each commit using Standard & Prettier.
on testing
Note: Remember connect your repository with Travis & Netlify.
- Check your code is correctly linted.
- Check your dependencies is up to date with ncu.
- Create a deploy preview using Netlify.
on production
- Compiles into ES2015+ code using babel-preset-env.
- Create multibundle (ES, CJS, UMD) using microbundle.
The best part is... it just works, you don't need to think about that, just in your code.
Install
First, install Yeoman:
$ npm install -g yo
Later, install this generator:
$ npm install -g @kikobeats/generator-react
Usage
$ yo react
License
MIT © Kiko Beats