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

fe-base-react-template

v1.0.10

Published

A modern, production-ready React application template with TypeScript, Vite, and comprehensive tooling

Readme

Fe-Base

A modern, production-ready React application template with TypeScript, Vite, and comprehensive tooling.

npm version License: MIT Node.js CI

Quick Start

Create a new React project with Fe-Base in seconds:

# Using npx (recommended)
npx fe-base-react-template my-project

# Using npm
npm create fe-base-react-template my-project

# Using yarn
yarn create fe-base-react-template my-project

# Using pnpm
pnpm create fe-base-react-template my-project

Then start developing:

cd my-project
npm install
npm run dev

Prerequisites

  • Node.js: Version 20+ (20.x, 22+ all supported)
  • Package Manager: npm, yarn, or pnpm

Note: This template requires Node.js 20+ for react-router-dom v7 and other modern packages. Use nvm install 20 if you need to upgrade.

Features

  • Vite - Lightning fast build tool with hot reload
  • ⚛️ React 19 - Latest React with modern features
  • 🔷 TypeScript - Full type safety and enhanced DX
  • 🎨 SCSS - Enhanced styling with CSS modules
  • 🧪 Vitest - Fast and modern testing framework
  • 📏 ESLint + Prettier - Code quality and formatting
  • 🔄 React Query - Powerful server state management
  • 🐻 Zustand - Lightweight client state management
  • 🎭 Framer Motion - Beautiful animations and transitions
  • 🎯 React Aria - Accessible component primitives
  • 🐳 Docker - Complete containerization support

What's Included

🏗️ Modern Development Stack

  • Vite for ultra-fast development and building
  • TypeScript with strict configuration
  • React 19 with latest features and hooks
  • SCSS with CSS modules for scoped styling

🧪 Testing & Quality

  • Vitest for unit and integration testing
  • ESLint with React and TypeScript rules
  • Prettier for consistent code formatting
  • Pre-configured test utilities and setup

🎨 UI & Components

  • Pre-built component library with common components
  • React Aria for accessibility-first components
  • Framer Motion for smooth animations
  • Responsive design patterns and utilities

🔄 State Management

  • React Query for server state and caching
  • Zustand for client-side state management
  • Pre-configured stores and patterns

🐳 Production Ready

  • Docker support with multi-stage builds
  • GitHub Actions CI/CD workflows
  • Production optimization and bundling
  • Environment configuration management

Project Structure

my-project/
├── src/
│   ├── components/         # Reusable UI components
│   ├── pages/             # Application pages/routes
│   ├── hooks/             # Custom React hooks
│   ├── stores/            # State management
│   ├── styles/            # Global styles and themes
│   ├── utils/             # Utility functions
│   └── config/            # App configuration
├── public/                # Static assets
├── scripts/               # Build and utility scripts
├── Dockerfile             # Container configuration
├── docker-compose.yml     # Development containers
└── vite.config.ts         # Vite configuration

Available Scripts

In your generated project, you can run:

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run preview - Preview production build
  • npm run test - Run tests
  • npm run lint - Lint code
  • npm run type-check - Run TypeScript checks

Docker Support

The template includes complete Docker support:

# Development with hot reload
docker-compose up dev

# Production build
docker-compose up --build

# Or build manually
docker build -t my-app .
docker run -p 3000:80 my-app

Customization

Fe-Base is designed to be easily customizable:

🎨 Styling

  • Modify design tokens in src/styles/design-tokens.scss
  • Update theme configuration
  • Customize component styles

🔧 Configuration

  • Update vite.config.ts for build settings
  • Modify tsconfig.json for TypeScript options
  • Customize ESLint rules in eslint.config.js

📦 Dependencies

  • Add new packages with npm install
  • Update existing packages with npm update
  • Remove unused dependencies

CLI Options

# Show help
npx fe-base-react-template --help

# Show version
npx fe-base-react-template --version

# Create project with specific name
npx fe-base-react-template my-awesome-app

Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Setup

  1. Clone the repository:

    git clone https://github.com/ThriledLokki983/fe-base.git
    cd fe-base
  2. Install dependencies:

    npm install
  3. Test the CLI locally:

    npm run test:cli
  4. Build the package:

    npm run build:package
  5. Test template generation:

    npm run dev:template

Publishing

This package is automatically published to npm when a new tag is pushed:

# Create and push a new version
npm version patch  # or minor, major
git push origin main --tags

License

MIT © Gideon Nimoh

Support


Built with ❤️ by the Fe-Base team