Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/codifytools/react-npm-package-boilerplate

Boilerplate code for a simple, lightweight and performant react npm package.
https://github.com/codifytools/react-npm-package-boilerplate

babel boilerplate library react rollup storybook

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://www.codifytools.com/blog/react-npm-package).

![npm bundle size](https://img.shields.io/bundlephobia/min/@codifytools/react-npm-package-boilerplate?style=flat-square)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/@codifytools/react-npm-package-boilerplate?style=flat-square)
![npm downloads](https://img.shields.io/npm/dt/@codifytools/react-npm-package-boilerplate?style=flat-square)
![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)

## Features
- [Babel](https://babeljs.io/) for modern JavaScript and JSX transpilation.
- [Rollup](https://rollupjs.org/) for build.
- Bundle generated in `cjs` and `esm` formats.
- [Storybook](https://storybook.js.org/) 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](npmjs.com).

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