Skip to content

Repository files navigation

React 16 Test Project

Project Overview

This is a React 16 test project that demonstrates a simple counter application with unit testing capabilities. The project serves as a template for React 16 applications with modern tooling and testing setup.

Tech Stack

  • React 16.14.0 - JavaScript library for building user interfaces
  • Babel - JavaScript compiler for modern JavaScript features
  • Webpack - Module bundler and development server
  • Jest - JavaScript testing framework
  • React Testing Library - Testing utilities for React components
  • ESLint & Prettier - Code linting and formatting

Setup Instructions

  1. Clone the repository

    git clone git@github.com:Ankk98/react_16_test.git
    cd react_16_test
  2. Install dependencies

    npm install
  3. Start the development server

    npm start

    This will open the application in your default browser at http://localhost:8080

  4. Run tests

    npm test

    Additional test commands:

    • npm run test:watch - Run tests in watch mode
    • npm run test:coverage - Run tests with coverage report

Available Scripts

  • npm start - Starts the development server
  • npm build - Builds the project for production
  • npm test - Runs tests
  • npm lint - Runs ESLint
  • npm format - Runs Prettier

Project Structure

  • src/ - Source code directory
  • webpack.config.js - Webpack configuration
  • .babelrc - Babel configuration
  • .eslintrc.json - ESLint configuration
  • .prettierrc - Prettier configuration

Development

The project uses:

  • React 16
  • Webpack for bundling
  • Babel for transpilation
  • ESLint for code linting
  • Prettier for code formatting

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages