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 🙏

© 2024 – Pkg Stats / Ryan Hefner

umich-lib-ui

v0.0.0

Published

[![Build Status](https://travis-ci.org/mlibrary/umich-lib-ui.svg?branch=master)](https://travis-ci.org/mlibrary/umich-lib-ui) [![Maintained with Lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/) [![PRs welcome

Downloads

5

Readme

University of Michigan Library Design System

Build Status Maintained with Lerna PRs welcome

A collection of shared design styles, components, and patterns for teams to build quality consistent interfaces. A bit like a LEGO kit.

npm install @umich-lib/core

View the documentation site

Contributing

Getting started

This project uses:

Run these commands before doing anything else.

git clone https://github.com/mlibrary/umich-lib-ui.git
cd umich-lib-ui
npm install

⌨️ Development

Starts the Storybook development environment at http://localhost:9001 and opens the documentation site at http://localhost:8000.

npm run bootstrap
npm run build:watch
npm run storybook

What's going on with these commands?

  • npm run bootstrap tells Lerna to optimize package dependencies and hoists common packages to the root. It will also symlink local packages that depend on each other.
  • npm run build:watch builds the packages with babel so that they can be consumed by the documentation website and published to NPM.
  • npm run storybook Starts the Storybook development environment.

Documentation site

Start the doc site locally. Built with Gatsby v2 for a fast website.

cd packages/docs
npm run develop

Be sure to run commands from the docs package directory.

📦 Publishing

❗ An NPM account with the umich-lib-ui organization is required to publish. Only core-contributors are able to publish versions. Contact the core team to get help setting this up.

Before anything else

Create a build to be published

npm run build

Make sure you're logged into the NPM registry.

npm login

Publish options

1. Canary

To publish a quick canary version

npm run publish:canary
2. Next

To publish a next version.

npm run publish:next
3. Publish

To publish an official version and follow Lerna publish prompts.

npm run publish

Export Components to Sketch

We use story2sketch library to handle turning our Storybook stories into almost Sketch. See the story2sketch repo for more info.

Make sure Storybook is active before running this command.

npm run sketch

This enables designers to use Design System components in Sketch.

🆘 Help / Questions

Open a GitHub issue.

PRs and contribution guidelines

See guidelines for contributing