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 🙏

© 2026 – Pkg Stats / Ryan Hefner

create-bluecopa-react-app

v1.0.41

Published

CLI tool to create bluecopa React applications

Downloads

584

Readme

create-bluecopa-react-app npm version License

A CLI Tool for Bluecopa React Applications

A command-line interface for bootstrapping modern React applications with Bluecopa integration, featuring opinionated best practices and pre-configured tooling.

Table of Contents

Version

Current version: 1.0.5

Installation

npm install -g create-bluecopa-react-app
# or
pnpm add -g create-bluecopa-react-app

Requirements

  • Node.js >= 18.0.0
  • npm >= 9.0.0 or pnpm >= 8.0.0

Configuration

The CLI uses environment variables for configuration:

# Optional configuration
export BLUECOPA_BOILERPLATE_REGISTRY=https://registry.npmjs.org

Features

  • 🚀 Modern React Stack: React 18, TypeScript, React Router v7, Vite 6
  • 🌐 Microfrontend Support: Single-spa compatible with module federation
  • 📊 Data Visualization: Recharts integration for charts and analytics
  • 🎨 UI Components: shadcn/ui components built on Radix UI primitives
  • 📡 Bluecopa React Components: Pre-configured @bluecopa/react package with hooks (includes TanStack Query integration)
  • 🎯 Type Safety: Full TypeScript support
  • 📱 Responsive Design: Tailwind CSS v4 with mobile-first approach and Bluecopa design system
  • 🛠️ Development Tools: ESLint, TypeScript checking, and Vite fast build system
  • Fast Development: Hot module replacement with Vite
  • 🔄 Server-side Rendering: React Router v7 with SSR support
  • 🌙 Dark Mode: Built-in theme switching with next-themes
  • 🗂️ Data Tables: TanStack Table with sorting, filtering, and pagination
  • 🎯 Drag & Drop: DND Kit integration for interactive interfaces

Usage

Creating a New Application

# Create new app with default template
create-bluecopa-react-app my-dashboard

# Create new app with shadcn/ui template
create-bluecopa-react-app my-dashboard --template shadcn

# Or use npx
npx create-bluecopa-react-app my-dashboard
npx create-bluecopa-react-app my-dashboard --template shadcn

Available Templates

  • Default Template: Basic React Router setup with essential components
  • shadcn Template: Full-featured template with shadcn/ui components, data tables, charts, and dark mode support

CLI Options

| Option | Description | |--------|-------------| | --skip-install | Skip dependency installation | | --template | Specify template (default, shadcn) | | --help | Show help information |

API Documentation

create-bluecopa-react-app [project-name] [options]

Creates a new Bluecopa React application.

Parameters:

  • project-name: Name of the new project directory
  • options: CLI options (see above)

Returns:

  • Creates project structure
  • Installs dependencies
  • Configures environment

Examples

Basic Usage

create-bluecopa-react-app my-dashboard

Skipping Dependency Installation

create-bluecopa-react-app my-dashboard --skip-install

Using npx (Recommended)

npx create-bluecopa-react-app my-dashboard

Development

Available Scripts

  • npm run dev - Start Vite development server with hot reload
  • npm run build - Build for production (TypeScript + Vite optimization)
  • npm run start - Start production build locally
  • npm run preview - Preview production build locally
  • npm run lint - Run ESLint for code quality
  • npm run lint:fix - Fix linting issues
  • npm run type-check - Run TypeScript type checking without emitting files
  • npm run clean - Clean build artifacts and dependencies

Technologies Used

  • React 18 - Modern React with concurrent features
  • React Router v7 - Modern routing with SSR support
  • Vite 6 - Fast build tool and development server
  • TypeScript - Full type safety and developer experience
  • @bluecopa/react - Bluecopa-specific React components and hooks
  • shadcn/ui - Accessible component library built on Radix UI
  • Radix UI - Unstyled, accessible UI primitives
  • TanStack Table - Headless table library for React
  • Recharts - Composable charting library for React
  • DND Kit - Drag and drop toolkit for React
  • Tailwind CSS v4 - Utility-first CSS framework with Bluecopa design system
  • next-themes - Theme switching with dark mode support
  • Lucide React - Beautiful, customizable icons

Monorepo Integration

This CLI tool is part of the Bluecopa UI monorepo and integrates with the following packages:

Standalone Development

The generated applications can also be developed independently:

  1. Self-contained: All dependencies are properly installed
  2. Environment setup: Includes proper environment variable configuration
  3. Build optimization: Uses Vite for fast development and production builds
  4. Deployment ready: Includes Docker configuration and deployment guides