/react-typescript-eslint-starter

👍 🚀 Quick start with React/TypeScript without Create React App

Primary LanguageSCSS

Shield Shield Shield

React Typescript Starter with Eslint and Babel

react
eslint babel typescript

Description

The problem of typing has long been known to all Javascript developers. Someone resolves it with the help of a Flow, someone with the help of something else, and someone with the help of a TypeScript. This repository allows you to make quick in React Development using TypeScript.

This boilerplate uses Webpack, Eslint, CSS Modules and Babel.

You don't need Create React App

Pull Requests are very welcome!

Usage

git clone git@github.com:vtereshyn/react-typescript-eslint-starter.git

or

git clone https://github.com/vtereshyn/react-typescript-eslint-starter.git

Install

With Yarn:

yarn

With NPM:

npm i

Development mode

With Yarn:

yarn dev

With NPM:

npm run dev

Run linters

With Yarn:

yarn lint

With NPM:

npm run lint

Fix lint issues

With Yarn:

yarn lint-fix

With NPM:

npm run lint-fix

Build project

With Yarn:

yarn build

With NPM:

npm run build

Dist folder will have a structure like:

dist
- public
-- assets
-- js
-- styles
-- index.html