Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@patterninc/react-ui

Package Overview
Dependencies
Maintainers
1
Versions
1190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@patterninc/react-ui

React UI component library for use at [Pattern](https://pattern.com).

  • 1.15.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.3K
decreased by-11.33%
Maintainers
1
Weekly downloads
 
Created
Source

React UI

React UI component library for use at Pattern.

Getting started

The package can be found at @pttrn/react-ui.

The project is setup to run using Yarn. You can install all dependencies by running yarn.

To run the example app:

yarn start

Build the library

To build the module to build, so the updated version can be used by other applications:

yarn build

Use in other applications

To use the private repo, once you have credentials to Pattern NPM you can configure your local machine with the following steps:

  1. Add @pttrn scope to point to our private package repo: npm login --registry=https://npm.pattern.com --scope=@pttrn
  2. Take the value of _authToken= in the file ~/.npmrc and add it to your profile (.bash_profile, .zshrc, etc) by adding the following line (making sure to add it before any nvm config)
export NPM_TOKEN="AUTH_TOKEN_HERE"

You should now be able to pull packages in the scope @pttrn down through yarn or npm!

Contents

The build makes the following available:

  1. dist/ui-component-library.js
  2. dist/styles.css

The JavaScript file contains no styles at all. You'll need to import both to get the look and feel. The following packages are peer dependencies to the library:

  1. moment
  2. react
  3. react-dates
  4. react-dom
  5. react-router-dom

FAQs

Package last updated on 19 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc