Skip to content

Modern template to start creating react app using webpack and typescript πŸš€

License

Notifications You must be signed in to change notification settings

m-avagyan/webpack-react-typescript-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cdf86b8 Β· Mar 26, 2024

History

68 Commits
Mar 1, 2024
Mar 1, 2024
Feb 29, 2024
Mar 1, 2024
Nov 23, 2023
Feb 29, 2024
Nov 23, 2023
Nov 23, 2023
Nov 23, 2023
Oct 10, 2022
Mar 26, 2024
Nov 23, 2023
Feb 29, 2024
Mar 24, 2024
Mar 1, 2024
Nov 24, 2023
Mar 24, 2024

Repository files navigation

webpack-react-typescript

Modern template to start creating react app using webpack and typescript πŸš€

Getting Started

Installing

  • git clone https://github.com/m-avagyan/webpack-react-typescript-template.git
  • cd webpack-react-typescript-template
  • yarn install --frozen-lockfile

Run Locally

Build Project

  • yarn clean - clean the dist/ directory
  • yarn build - we can see the output in dist/ directory

Run Unit Tests

  • yarn test - run all test cases
  • yarn test:watch - run all test cases in watch mode
  • yarn test:coverage - run all test cases and collect coverage for each tested files

Analyze

  • yarn analyze - build project to /dist and analyze your bundle size in localhost:3006

Codebase

  • yarn lint - lint the codebase
  • yarn format - format the codebase using prettier

Tools and Technologies

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Commits

  • We use the conventional commit lint for linting our commit messages
  • Also before every commit we run the lint command using husky for lint our codebase

Author

Martik Avagyan


License

MIT