Skip to content

React typescript component library creator boilerplate using webpack, react and typescript

License

Notifications You must be signed in to change notification settings

kothing/webpack-react-typescript-library-template

Repository files navigation

Webpack-React-Typescript-Library-Template

Feature

This template is built with the following technologies:

  • Language: TypeScript
  • Linting: ESLint
  • Style: Less
  • Formatting: Prettier/Stylelint
  • Bundling: Webpack
  • Transpiling: Babel
  • Lint Staged: Husky
  • Development & Production configurations
  • Declarations for png and svg files

Getting Started

Using this template is very simple, follow the following instructions:

  1. Fork the repository
  2. Create a new repository and select forked repository as template

Or,

  1. Clone the repository
git clone https://github.com/kothing/webpack-typescript-react-library-template.git
  1. Install the dependencies
npm install
  1. Start the development server
npm start
  1. Build for production
npm run build

Features

  • TypeScript for improved code quality and developer experience
  • ESLint for linting and maintaining code consistency
  • Prettier for automatic code formatting
  • Webpack for bundling and building the application
  • Babel for transpiling modern JavaScript to older versions for better browser compatibility
  • Husky for running lint-staged, which lints and fixes files before committing
  • React Refresh for faster development experience
  • Development & Production configurations for different environment settings
  • Declarations for png and svg for improved developer experience

License

Licensed under the MIT License.

About

React typescript component library creator boilerplate using webpack, react and typescript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published