/react-typescript-boilerplate

🔥 React + TypeScript Boilerplate (atomic design)

Primary LanguageJavaScriptMIT LicenseMIT

Libraries

  • React
  • TypeScript
  • Babel
  • Jest + Enzyme
  • TSLint
  • Webpack 4
  • sass-loader
  • Prettier

Quick start

  1. Clone this repo using git clone https://github.com/hendriknielaender/react-typescript-boilerplate.git <YOUR_PROJECT_NAME>
  2. Move to the appropriate directory: cd <YOUR_PROJECT_NAME>.
  3. Run npm install in order to install dependencies
  4. Run npm run dev

How to use

# install dependencies
$ npm install

# start a server (development mode)
$ npm run dev

# check your types
$ npm run check-types

# lint
$ npm run lint

# test
$ npm run test

# production build
$ npm run build

# start a server (production mode)
$ npm run start