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

homemade-ds

v0.7.0

Published

Homemade Design System - Reusable React UI components

Readme

homemade-ds

Reusable React UI component library built with MUI and Emotion.


Features

  • React components styled with MUI v6 and Emotion
  • TypeScript support with full typings
  • Supports both ESM and CommonJS consumers
  • Storybook integration for interactive component preview
  • Jest tests included for reliability

Installation

Install the latest published version from npm:

npm install homemade-ds

Usage

Import components in your React/Next.js app:

import { Banner, Button } from 'homemade-ds';

function App() {
  return (
    <Banner variant="info" heading="Welcome!">
      Hello from homemade-ds
    </Banner>
  );
}

Development

Build

Compile the source with tsup (outputs ESM, CJS, and types):

npm run build

Output goes to the dist/ folder.


Storybook

Run Storybook for live preview and documentation:

npm run storybook

Visit http://localhost:6006.

Build the static Storybook site:

npm run build-storybook

Chromatic Publishing

We use Chromatic to automatically build and publish Storybook on pushes to staging, main, and test-storybook branches.

The published Storybook can be viewed via the Chromatic project dashboard URL.

Published versions


Testing

Run unit tests with Jest:

npm test

Local Testing in Consuming Projects

1. Pack the library locally

npm run pack:local

This removes old .tgz files, builds, and creates a new tarball.


2. Install in a local app

For example, to install in react-service-provider-portal:

npm run install:to-react-service-provider-portal

Or for react-customer-portal:

npm run install:to-react-customer-portal

These scripts pack, copy, and install the local tarball into the specified project.


Publishing to NPM

Steps to publish the homemade-ds package to npm:

1. Build the Package

Ensure the package is built and ready for distribution. Run the following command to generate the dist folder:

npm run build

2. Login to NPM

If you are not already logged in, log in to your npm account with: npm login

You will be redirect to NPM webpage.

3. Update the Version

Before publishing, ensure the version field in package.json is updated according to Semantic Versioning. You can use the following commands to increment the version:

For a patch version (e.g., 0.5.10 → 0.5.11): npm version patch

For a minor version (e.g., 0.5.10 → 0.6.0): npm version minor

And for a major version (e.g., 0.5.10 → 1.0.0): npm version major

4. Publish to NPM

Run the following command to publish to NPM: npm publish Note: ensure the version you're publishing is different to the existing version on NPM.


Scripts Overview

| Script | Description | |-------------------------------------|-----------------------------------------------------------------| | npm run build | Build library with tsup (ESM, CJS, typings) | | npm run storybook | Start Storybook dev server on port 6006 | | npm run build-storybook | Build Storybook static site | | npm test | Run Jest tests | | npm run publish:npm | Build and publish to npm (public access) | | npm run pack:local | Clean old packages, build, create local .tgz tarball | | npm run install:to-react-service-provider-portal | Pack and install to local react-service-provider-portal app | | npm run install:to-react-customer-portal | Pack and install to local react-customer-portal app |


Package Exports

{
  "main": "./dist/index.js",
  "module": "./dist/index.esm.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/index.esm.js",
      "require": "./dist/index.js"
    }
  }
}
  • main: CommonJS entry
  • module: ES Module entry
  • types: TypeScript declarations
  • exports: conditional exports for bundlers

Notes

  • The pack:local and install scripts assume sibling project folders, e.g. ../react-service-provider-portal.
  • Adjust paths if your folder structure differs.
  • On Windows, replace rm -f with rimraf or appropriate command.