Skip to content

Plortinus/react-library-starter

 
 

Repository files navigation

react-library-starter

⚡ A library starter kit and bundler for your React projects, powered by Rollup.

Features

Development

Clone this repo and run the following commands to start development with Storybook.

npm install --production=false
npm run storybook

Go to localhost:6006 and you should see something like this.

storybook-dev

Building

To build your project, run npm run build.

Publishing

npm publish

This builds commonjs, esm, and umd versions of your module to dist/ and then publishes your module to npm. Make sure that any npm modules you want as peer dependencies are properly marked as peerDependencies in package.json. The rollup config will automatically recognize them as peers and not try to bundle them in your module.

License

MIT © Rhaidzsal Ali

About

⚡ A library starter kit and bundler for your React projects, powered by Rollup.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 47.8%
  • TypeScript 38.0%
  • HTML 12.6%
  • CSS 1.6%