<?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>DEV Community: Maryam Jk</title>
    <description>The latest articles on DEV Community by Maryam Jk (@maryamjk).</description>
    <link>https://dev.to/maryamjk</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%2F3965875%2F3cf0f5cf-9182-47cb-bb47-354243bfea44.png</url>
      <title>DEV Community: Maryam Jk</title>
      <link>https://dev.to/maryamjk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/maryamjk"/>
    <language>en</language>
    <item>
      <title>I Built a CLI Tool That Cleans React &amp; Next.js Boilerplate in One Command</title>
      <dc:creator>Maryam Jk</dc:creator>
      <pubDate>Wed, 03 Jun 2026 06:51:41 +0000</pubDate>
      <link>https://dev.to/maryamjk/i-built-a-cli-tool-that-cleans-react-nextjs-boilerplate-in-one-command-468a</link>
      <guid>https://dev.to/maryamjk/i-built-a-cli-tool-that-cleans-react-nextjs-boilerplate-in-one-command-468a</guid>
      <description>&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Every time I start a new React or Next.js project, I do the same thing.&lt;/p&gt;

&lt;p&gt;Delete &lt;code&gt;next.svg&lt;/code&gt;. Delete &lt;code&gt;vercel.svg&lt;/code&gt;. Empty &lt;code&gt;globals.css&lt;/code&gt;. &lt;br&gt;
Remove the default logo. Clean up &lt;code&gt;App.jsx&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;Every. Single. Time.&lt;/p&gt;

&lt;p&gt;It takes 5 minutes but it's annoying. So I built a tool to do it automatically.&lt;/p&gt;




&lt;h2&gt;
  
  
  Introducing stackclean
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;stackclean&lt;/code&gt; is a simple CLI tool that removes all default boilerplate &lt;br&gt;
files from your React or Next.js project in one command.&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
bash
npx stackclean

That's it One Command done.


## What it removes
**Next.js (App Router)**

- Deletes: next.svg, vercel.svg, file.svg, globe.svg,
  window.svg, favicon.ico, icon.svg
- Cleans: page.tsx, layout.tsx, globals.css

**Next.js (Pages Router)**
- Deletes: next.svg, vercel.svg, favicon.ico,
  Home.module.css, api/hello.js
- Cleans: index.tsx, globals.css

  **Vite + React**
- Deletes: react.svg, vite.svg, favicon.ico, all SVGs in src/assets
- Cleans: App.jsx, App.css, index.css, main.jsx

 **Create React App**
- Deletes: logo.svg, favicon.ico, logo192.png, logo512.png,
  manifest.json, robots.txt, reportWebVitals.js, App.test.js
- Cleans: App.js, App.css, index.css, index.js

## Auto Detection
You don't need to tell it which framework you're using.
stackclean reads your package.json and figures it out automatically.

Works with JavaScript and TypeScript both.

## How to use
Run inside your project folder:
`Run inside your project folder:`
Or pass a path:
`npx stackclean ./my-project`

## Links
npm: npmjs.com/package/stackclean
GitHub: github.com/MaryamJkdev/StackClean

&amp;gt; If this saves you even 5 minutes .... it did its job.
Give it a try and let me know what you think in the comments!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>react</category>
      <category>nextjs</category>
      <category>webdev</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
