DEV Community

Timothy Merritt
Timothy Merritt

Posted on

My First npm Package - A Custom React Theme

After being sick and tired of constantly having to delete and rearrange the create-react-app boilerplate, I finally made a custom stripped-down React template for starting new projects. So far it doesn’t include anything extraordinary (though I did incorporate my SCSS boilerplate called SPLATE), but it removes all of the extraneous defaults for new React apps. I also managed to setup GitHub Actions to automatically release new versions to the npm registry when I update the main branch.

If you’d like to try it out, you can use it via npx create-react-app [name-of-your-app] --template timmybytes-template. I’ll be adding more helpful starting features, and more automation for deployment.

Discussion (0)