codifytools / react-npm-package-boilerplate

Boilerplate code for a simple, lightweight and performant react npm package.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Package Boilerplate

Boilerplate code for a simple, lightweight, and performant react npm package. Read a step-by-step guide on how to create a react npm package on Codify Tools.

npm bundle size npm bundle size npm downloads GitHub license

Features

  • Babel for modern JavaScript and JSX transpilation.
  • Rollup for build.
  • Bundle generated in cjs and esm formats.
  • Storybook for local development.

Commands

  • npm install - install project dependencies.
  • npm run storybook - start local development environment.
  • npm run build - build package into dist/ folder.
  • npm publish - publish your package to npm.

License

MIT license, Copyright (c) Juan Pablo Mejia Duque. For more information see LICENSE.

About

Boilerplate code for a simple, lightweight and performant react npm package.

License:MIT License


Languages

Language:JavaScript 100.0%