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
- Host: GitHub
- URL: https://github.com/fed/react-boilerplate
- Owner: fed
- Created: 2017-12-24T18:50:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-24T19:11:22.000Z (over 8 years ago)
- Last Synced: 2025-06-24T09:51:15.919Z (about 1 year ago)
- Topics: create-react-app, react, react-boilerplate
- Language: JavaScript
- Homepage:
- Size: 124 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).