Skip to content

hseoy/react-typescript-boilerplate

Repository files navigation

🌐 React TypeScript Boilerplate

This is a React & Type Script boilerplate built without a CRA.

Prerequisites

Features

Getting Started

Installation

$ npx degit https://github.com/hseoy/react-typescript-boilerplate <project name>
$ cd <project name>
$ yarn install

Development server

Webpack dev server runs at localhost:8080.

$ yarn dev

Production build

Build outputs are created in build.

$ yarn build

Test

The test environment was built using the jest and react testing library.

$ yarn test
$ yarn test:watch
$ yarn test:coverage

Lint

It uses eslint and pretier and follows the rules of airbnb.

$ yarn lint
$ yarn lint:fix
$ yarn prettier:write