hseoy / react-typescript-boilerplate

react & typescript boilerplate without CRA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🌐 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

About

react & typescript boilerplate without CRA

License:MIT License


Languages

Language:JavaScript 88.9%Language:TypeScript 6.6%Language:HTML 3.3%Language:CSS 0.6%Language:Shell 0.5%