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.
- Babel for modern JavaScript and JSX transpilation
- Rollup for build
- Bundle generated in
cjs
andesm
formats - Storybook for local development
-
npm install
- install project dependencies -
npm run storybook
- start local development environment. -
npm run build
- build package intodist/
folder -
npm publish
- publish your package to npm.
MIT license, Copyright (c) Juan Pablo Mejia Duque. For more information see LICENSE
.