Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.
Dima Vyshniakov edited this page Nov 29, 2023 · 4 revisions

NPM library Create React App template

Description

Create React App (CRA) template to build and publish NPM libraries with rollup, eslint and stylelint configurations.

Purpose

This template allows you to use CRA tooling to develop NPM library using JS or TS with some extra tools included. rollup.js is used to build the package for publishing.

Features

  • Handles all modern JS features.
  • Supports Typescript and Javascript.
  • Bundles commonjs and es module formats.
  • Husky for git hooks.
  • Eslint and stylelint.
  • Rollup for bundling.
  • Jest and react-testing-library for testing.
  • Supports CSS modules, SASS/SCSS and PostCSS.
  • Storybook for documentation and demo.
Clone this wiki locally