<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Abhishek</title>
    <description>The latest articles on Forem by Abhishek (@mrcssdev).</description>
    <link>https://forem.com/mrcssdev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3289582%2F39b6e94f-19a3-4eaa-957d-24372e25917c.jpg</url>
      <title>Forem: Abhishek</title>
      <link>https://forem.com/mrcssdev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/mrcssdev"/>
    <language>en</language>
    <item>
      <title>How I Build an NPM Package that lets you Scaffold React Apps</title>
      <dc:creator>Abhishek</dc:creator>
      <pubDate>Wed, 03 Sep 2025 17:31:48 +0000</pubDate>
      <link>https://forem.com/mrcssdev/how-i-build-an-npm-package-that-lets-you-scaffold-react-apps-5a5h</link>
      <guid>https://forem.com/mrcssdev/how-i-build-an-npm-package-that-lets-you-scaffold-react-apps-5a5h</guid>
      <description>&lt;p&gt;Okay, So I finnaly made an NPM package so that you don't need to find each and every dependencies. In this blog, I am going to walkthrough the process how you can try this package yourself. &lt;br&gt;
I will also share how I came to making one more npm thingy, here we go. &lt;/p&gt;

&lt;p&gt;Let first start with a question: &lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;What is An NPM Package?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;=&amp;gt; NPM is a package manager for Node. js packages, or modules if you like. &lt;a href="http://www.npmjs.com" rel="noopener noreferrer"&gt;www.npmjs.com&lt;/a&gt; hosts thousands of free packages to download and use. The NPM program is installed on your computer when you install Node.js. If you installed Node. &lt;br&gt;
That's a preety boring definition, here is the simpler version&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;An npm package is basically a &lt;u&gt;bundle of reusable code&lt;/u&gt; that you (or anyone) can install and use in a Node.js project. Think of it as a little Lego piece—easy to plug in, whether it’s for adding a button component, handling dates, or powering a whole framework. &lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;My First NPM package&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;I found out the process of setting up each package one by one, why not make a scaffold tool like a thing so that anyone can just hit the command, do some'enter...enter' and get their react project as it it.&lt;br&gt;
I tried to implement some CI/CD files and vercel.json to make the process further helpful. &lt;/p&gt;

&lt;p&gt;To install the npm package, you need to enter this command in your terminal- &lt;/p&gt;

&lt;p&gt;&lt;code&gt;npx react-starter-plus&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;The prompts you need to follow&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Project name&lt;/strong&gt; → &lt;code&gt;my-react-app&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Language&lt;/strong&gt; → JavaScript / TypeScript&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Git setup&lt;/strong&gt; → Initialize repo &amp;amp; push to GitHub (provide remote URL)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Extras&lt;/strong&gt; →&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;CI/CD with GitHub Actions?&lt;/li&gt;
&lt;li&gt;Zustand for state?&lt;/li&gt;
&lt;li&gt;React Testing Library?

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Deployment&lt;/strong&gt; → Deploy with Vercel (make sure you’re logged in with &lt;code&gt;vercel login&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deploy now or later&lt;/strong&gt; → Your call.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  Get the Summary &amp;amp; Setup
&lt;/h3&gt;

&lt;p&gt;The CLI shows a summary before proceeding. If everything looks good, it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Installs dependencies&lt;/li&gt;
&lt;li&gt;Sets up Tailwind + routing&lt;/li&gt;
&lt;li&gt;Initializes Git &amp;amp; pushes to remote&lt;/li&gt;
&lt;li&gt;Configures CI/CD&lt;/li&gt;
&lt;li&gt;Deploys to Vercel&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  And done
&lt;/h3&gt;

&lt;p&gt;You’ll end up with something like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;✔ Deployment successful:
https://johndoes-project.vercel.app

→ Run it locally with `npm run dev`
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then you can choose how your React project gonna be- &lt;br&gt;
and finnaly you get this-&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foc82kx8f1tclk1kwlw7o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foc82kx8f1tclk1kwlw7o.png" alt=" " width="800" height="388"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's all for this project, if you find this helpful at any point, &lt;a href="https://github.com/iCoderabhishek/npm-package/tree/main/react-starter-plus" rel="noopener noreferrer"&gt;leave a start 🌟&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>react</category>
      <category>cli</category>
      <category>npm</category>
    </item>
  </channel>
</rss>
