项目作者: vtereshyn

项目描述 :
👍 🚀 Quick start with React/TypeScript without Create React App
高级语言: CSS
项目地址: git://github.com/vtereshyn/react-typescript-eslint-starter.git



Shield
Shield
Shield

React Typescript Starter with Eslint and Babel


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

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

or

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

Install

With Yarn:

  1. yarn

With NPM:

  1. npm i

Development mode

With Yarn:

  1. yarn dev

With NPM:

  1. npm run dev

Run linters

With Yarn:

  1. yarn lint

With NPM:

  1. npm run lint

Fix lint issues

With Yarn:

  1. yarn lint-fix

With NPM:

  1. npm run lint-fix

Build project

With Yarn:

  1. yarn build

With NPM:

  1. npm run build

Dist folder will have a structure like:

  1. dist
  2. - public
  3. -- assets
  4. -- js
  5. -- styles
  6. -- index.html