.
This commit is contained in:
parent
b232069c83
commit
45df6e1a3f
1 changed files with 11 additions and 13 deletions
|
@ -17,19 +17,17 @@ The CLI is based on this [boilerplate](https://github.com/transitive-bullshit/re
|
|||
|
||||
## Features
|
||||
|
||||
- Supports all modern JS language features for component development out of the box
|
||||
- Build process to convert source to `umd` and `es` module formats for publishing to npm
|
||||
- Comes with an `example` app using a standard [create-react-app](https://github.com/facebookincubator/create-react-app), serving 2 purposes
|
||||
- Local, hot-reload server for developing your module
|
||||
- Easily publishable to github pages so users can quickly play with your module
|
||||
- Uses [Rollup](https://rollupjs.org/) for build process and [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
|
||||
- Allows the use of `npm` modules within your library, either as dependencies or peer-dependencies
|
||||
- Supports importing CSS in your components (with css modules enabled by default)
|
||||
- Note that CSS support will be a noop if you're using css-in-js
|
||||
- Testing with [Jest](https://facebook.github.io/jest/), using `react-scripts` from `create-react-app`
|
||||
- Sourcemap creation enabled by default
|
||||
- Thorough documentation written by someone who cares :heart_eyes:
|
||||
- Easy-to-use CLI
|
||||
- Handles all modern JS features
|
||||
- Bundles `umd` and `es` module formats
|
||||
- [create-react-app](https://github.com/facebookincubator/create-react-app) for example usage and local dev
|
||||
- [Rollup](https://rollupjs.org/) for build process
|
||||
- [Babel](https://babeljs.io/) for transpilation
|
||||
- [Jest](https://facebook.github.io/jest/) testing
|
||||
- Supports complicated peer-dependencies
|
||||
- Supports CSS modules
|
||||
- Sourcemap creation
|
||||
- Thorough documentation :heart_eyes:
|
||||
|
||||
## Install
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue