npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, πŸ‘‹, I’m Ryan HefnerΒ  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you πŸ™

Β© 2025 – Pkg Stats / Ryan Hefner

my-react-pr

v1.0.8

Published

πŸš€ CLI tool to create a production-ready React app with Vite, Tailwind CSS, React Router, Redux, Context API, and shadcn/ui pre-configured

Readme

πŸš€ my-react-pr

npm version npm downloads License Node.js

⚑ Create a production-ready React app in seconds with all modern tools pre-configured!

Installation | Features | Usage | What's Included | Contributing


πŸ“¦ Installation & Quick Start

Option 1: Using npx (Recommended - No installation needed)

npx my-react-pr myapp

Option 2: Install globally

npm install -g my-react-pr
my-react-pr myapp

That's it! Your fully configured React app is ready in seconds! πŸŽ‰


✨ Features

This CLI tool creates a production-ready React application with all the modern tools and libraries pre-installed and pre-configured:

🎯 Core Technologies

  • βš›οΈ React 18 - Latest React with Hooks
  • ⚑ Vite - Lightning-fast build tool and dev server
  • 🎨 Tailwind CSS - Utility-first CSS framework
  • πŸ›£οΈ React Router - Client-side routing
  • 🎭 Redux Toolkit - State management
  • πŸ”„ React Context API - Alternative state management
  • 🎨 shadcn/ui - Beautiful, accessible components
  • πŸ“¦ TypeScript Ready - Type-safe development

πŸš€ Developer Experience

  • ⚑ Hot Module Replacement (HMR) - Instant updates
  • πŸ”₯ Optimized Build - Production-ready bundles
  • πŸ“ Pre-configured ESLint & Prettier - Code quality out of the box
  • 🎯 Project Structure - Best practices folder organization
  • πŸ”§ Pre-configured Scripts - Ready to use commands

πŸ“‹ What's Included

When you create a new project with my-react-pr, you get:

🎨 UI & Styling

  • βœ… Tailwind CSS fully configured
  • βœ… shadcn/ui components pre-installed
  • βœ… Responsive design utilities
  • βœ… Dark mode support ready

πŸ—‚οΈ State Management

  • βœ… Redux Toolkit with store setup
  • βœ… React Context API examples
  • βœ… Pre-configured slices and actions

πŸ›£οΈ Routing

  • βœ… React Router v6 configured
  • βœ… Route examples included
  • βœ… Protected route setup ready

⚑ Build & Dev Tools

  • βœ… Vite with optimized config
  • βœ… Fast refresh enabled
  • βœ… Production build optimized
  • βœ… Path aliases configured

πŸ“ Project Structure

myapp/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/     # Reusable components
β”‚   β”œβ”€β”€ pages/          # Route pages
β”‚   β”œβ”€β”€ store/          # Redux store
β”‚   β”œβ”€β”€ context/        # React Context
β”‚   β”œβ”€β”€ hooks/          # Custom hooks
β”‚   β”œβ”€β”€ utils/          # Utility functions
β”‚   └── styles/         # Global styles
β”œβ”€β”€ public/             # Static assets
└── package.json        # Dependencies

🎬 Usage

Step 1: Create your app

npx my-react-pr myapp

Step 2: Navigate to your app

cd myapp

Step 3: Install dependencies

npm install

Step 4: Start development server

npm run dev

Your app will be running at http://localhost:5173 πŸŽ‰


πŸ“š Available Scripts

After installation, you can use these commands:

npm run dev      # Start development server
npm run build    # Build for production
npm run preview  # Preview production build
npm run lint     # Run ESLint

🎯 Why Use This?

⏱️ Save Time

Stop spending hours configuring tools. Get everything set up in seconds!

πŸ—οΈ Best Practices

Follows industry best practices and modern React patterns.

πŸ”§ Production Ready

Everything is configured for production from day one.

πŸ“– Learning Friendly

Clean, organized code structure perfect for learning and building.


🀝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

πŸ“ License

This project is licensed under the ISC License.


πŸ™ Acknowledgments


⭐ Star this repo if you find it helpful! ⭐

Made with ❀️ by Shivam Yadav