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

@r3p0x/a9s-component-library

v0.1.9

Published

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

Downloads

2

Readme

Welcome to happy_component_library

happy_component_library is the central repository to manage our UI components. This should lead to a straight forward separation of concerns, so that UI logic keeps within the component library and business logic will be added in the actual application. This way we can guarantee a specific degree of consistency across all our applications, rapidly speed up our development process of frontend applications and even achieve a high degree of customization by overwriting the theme object.

Note: This project was bootstrapped with Create React App.

Installation

Clone the GitHub Repo locally, then run

yarn install

Development

In Order to work with the Component Library locally, run npm link for the peer dependencies found in the package.json. Run the following commands in the component_library-directory and link the packages from your external repo via: (Info: the external repo and the component_library should be in the same parent folder )

npm link ../happy_frontend/node_modules/react
npm link ../happy_frontend/node_modules/styled-components
npm link ../happy_frontend/node_modules/react-router-dom
yarn build

In the other project-directory, you add the local path of the component-library

yarn add ../component_library

You can now import Components from the Library via

import { Component } from 'component-library'

Testing

In the project directory, you can run:

Run this to start the storybook application

yarn run storybook

Run this to ensure it is correctly packaged

yarn start

Run this to start the Test Suite

yarn test

Launches the test runner in the interactive watch mode. See the section about running tests for more information.

Production

You can build the app for production with

yarn build

You can find the build in the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!

See the section about production for more information.

Learn More

You can learn more in the Parcel documentation.

To learn React, check out the React documentation.