Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/fxcosta/cra-typescript-boilerplate

Create React App Rewired boilerplate - TypeScript, Styled-Components, Jest, Zustand, StoryBook
https://github.com/fxcosta/cra-typescript-boilerplate

jest react styled-components typescript

Last synced: about 1 month ago
JSON representation

Create React App Rewired boilerplate - TypeScript, Styled-Components, Jest, Zustand, StoryBook

Awesome Lists containing this project

README

        

# React Typescript Boilerplate

[![forthebadge](https://forthebadge.com/images/badges/designed-in-ms-paint.svg)](https://forthebadge.com)

## Features
* Uses [react-app-rewired](https://github.com/timarney/react-app-rewired) - You need not eject in order to change your babel config or override CRA in general
* [Eslint](https://eslint.org/) - Comes with eslint and pluggins required to work with prettier, typescript, react and react hooks
* [Husky](https://github.com/typicode/husky) - Hooks at its finest
* [Lint-staged](https://github.com/okonet/lint-staged) - Linting and code cleaning with support for partially staged files.
* [React router dom v5.2.0](https://github.com/ReactTraining/react-router) - Declarative routing for React
* Removed junk dependencies
* Place dependencies and dev-dependencies appropriately

## Available Scripts

In the project directory, you can run:

### `yarn start`

Runs the app in the development mode.

Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.

You will also see any lint errors in the console.

### `yarn build`

Builds the app for production to the `build` folder.

It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.