An open API service indexing awesome lists of open source software.

https://github.com/fed/react-boilerplate

CRA + Flow, Prettier, Sass and Storybook
https://github.com/fed/react-boilerplate

create-react-app react react-boilerplate

Last synced: about 2 months ago
JSON representation

CRA + Flow, Prettier, Sass and Storybook

Awesome Lists containing this project

README

          

# react-boilerplate

This is a simple starter project based on create-react-app with some addons such as Storybook, Prettier, Sass support and a bunch of config files.

## Prerequisites

* Node.js (https://nodejs.org/)
* Yarn (https://yarnpkg.com/)

## Development Tasks

| Command | Description |
|---------|-------------|
| `yarn install` | Fetch dependencies and build binaries for any of the modules |
| `yarn start` | Run the app in development mode with live reload on `http://localhost:3000` |
| `yarn storybook` | Start styleguide dev server on `http://localhost:9009` |
| `yarn build` | Generate an optimised, production-ready `build` folder |
| `yarn test` | Run test suite in the interactive watch mode |

## Project Structure

This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app).

For the project to build, these files must exist with exact filenames:

* `public/index.html` is the page template;
* `src/index.js` is the JavaScript entry point.

You can delete or rename any of the other files.

Only files inside `public` can be used from `public/index.html`.

To learn more about CRA have a look at [this guide](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md).