Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/codifytools/react-npm-package-boilerplate
- Owner: codifytools
- License: mit
- Created: 2021-04-08T04:53:00.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-31T04:15:02.000Z (12 months ago)
- Last Synced: 2024-11-15T21:51:34.627Z (about 1 month ago)
- Topics: babel, boilerplate, library, react, rollup, storybook
- Language: JavaScript
- Homepage:
- Size: 2.66 MB
- Stars: 13
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`.