1
0
Fork 0
This commit is contained in:
Travis Fischer 2018-03-12 19:58:04 -04:00 committed by Joost De Cock
parent b232069c83
commit 45df6e1a3f

View file

@ -17,19 +17,17 @@ The CLI is based on this [boilerplate](https://github.com/transitive-bullshit/re
## Features ## Features
- Supports all modern JS language features for component development out of the box - Easy-to-use CLI
- Build process to convert source to `umd` and `es` module formats for publishing to npm - Handles all modern JS features
- Comes with an `example` app using a standard [create-react-app](https://github.com/facebookincubator/create-react-app), serving 2 purposes - Bundles `umd` and `es` module formats
- Local, hot-reload server for developing your module - [create-react-app](https://github.com/facebookincubator/create-react-app) for example usage and local dev
- Easily publishable to github pages so users can quickly play with your module - [Rollup](https://rollupjs.org/) for build process
- Uses [Rollup](https://rollupjs.org/) for build process and [Babel](https://babeljs.io/) for transpilation - [Babel](https://babeljs.io/) for transpilation
- See the [blog post](https://hackernoon.com/publishing-baller-react-modules-2b039d84bce7) for an explanation of Rollup vs Webpack - [Jest](https://facebook.github.io/jest/) testing
- Allows the use of `npm` modules within your library, either as dependencies or peer-dependencies - Supports complicated peer-dependencies
- Supports importing CSS in your components (with css modules enabled by default) - Supports CSS modules
- Note that CSS support will be a noop if you're using css-in-js - Sourcemap creation
- Testing with [Jest](https://facebook.github.io/jest/), using `react-scripts` from `create-react-app` - Thorough documentation :heart_eyes:
- Sourcemap creation enabled by default
- Thorough documentation written by someone who cares :heart_eyes:
## Install ## Install