DEV Community

Discussion on: Publish to NPM: React component library - the easy way

Collapse
 
jwhenry3 profile image
Justin Henry • Edited

For React and Typescript, I have a project template I use when I may need to do just this:
github.com/jwhenry3/react-template
it includes husky for git hooks, eslint, prettier, and a pipeline starter plate for CI/CD. Once you get going in the project, it gets really easy to rapidly scale out a robust suite of React libraries and it also includes Storybook and NextJS in case you want to build an app in the same project.