Skip to content

m0bar3z/react-babel-webpack-typescript-setup

Repository files navigation

React Babel Webpack TypeScript Setup

Description

This repository contains a basic setup for a React project configured with Babel, Webpack, and TypeScript. It's intended to be used as a starting point for building React applications with modern JavaScript features and tools.

Getting Started

To get started with this project, follow these steps:

  1. Clone this repository to your local machine:

    git clone <repository_url>
  2. Install dependencies:

    yarn
  3. Start the development server:

    yarn start
  4. Open your browser and navigate to http://localhost:8080 to view the application.

Project Structure

  • src/: Contains the source code for the React application.
  • dist/: Output directory where bundled JavaScript files are generated.
  • webpack.config.js: Webpack configuration for bundling the project.
  • .babelrc: Babel configuration for transpiling JavaScript and TypeScript code.
  • tsconfig.json: TypeScript configuration for the project.

Available Scripts

  • yarn dev: Starts the development server.
  • yarn build: Builds the project for production.

Technologies Used

  • React
  • Babel
  • Webpack
  • TypeScript

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A starter boilerplate combining React 18 with Babel, Webpack, and TypeScript.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published