Skip to content

Latest commit

 

History

History
68 lines (48 loc) · 1.64 KB

File metadata and controls

68 lines (48 loc) · 1.64 KB

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.