Skip to content

This simple template contains all the necessary settings to start a React project

License

Notifications You must be signed in to change notification settings

Sorokin-Oleg/simple-react-boilerplate

Repository files navigation

⚛️ Simple React Boilerplate

License: MIT

This simple template contains all the necessary settings to start a React project.

Installation

  • Clone this repo;
  • Install all dependencies using command npm i or yarn.

Usage

Development server

  • Start the development server using command npm run start or yarn start;
  • You can view the development server at localhost:3000.

Production build

  • You can build production version using command npm run build or yarn build

Note: Optional

  • Install http-server globally to deploy a simple server using command npm i -g http-server or yarn global add http-server;
  • View the deploy by creating a server in dist using command cd dist && http-server

Features

Dependencies

Webpack

React

  • react - React is a JavaScript library for creating user interfaces;
  • react-dom - This package serves as the entry point to the DOM and server renderers for React.

TypeScript

Babel

  • @babel/core - Transpile ES6+ to backwards compatible JavaScript;
  • @babel/preset-env - Smart defaults for Babel;
  • babel-loader - This package allows transpiling JavaScript files using Babel and webpack.

Loaders

Plugins

Linters

Author

License

This project is open source and available under the MIT License.