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

@politico/interactive-style

Package Overview
Dependencies
Maintainers
10
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@politico/interactive-style

![](https://www.politico.com/interactives/cdn/images/badge.svg)

  • 3.0.0-beta.17
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
decreased by-66.67%
Maintainers
10
Weekly downloads
 
Created
Source

@politico/interactive-style

Component library for base POLITICO interactive page stylings.

Quick Start

Installation:

$ yarn add @politico/interactive-style

Import only what you need:

import { Headline } from "@politico/interactive-style";

Use it in your component:

import React from "react";

const MyComponent = () => <Headline />;

export default MyComponent;

Development

Clone Repo:

$ git clone https://github.com/The-Politico/politico-interactive-style

Install dependencies:

$ yarn

Start development server:

$ yarn start

Publishing Changes

Increase the version number in package.json. Increase the last number (i.e. 2.2.x) if you're pushing a bug fix. Increase the second number and reset the last one to 0 (i.e. 2.x.0) if you're pushing a new feature.

Rebuild the docs server.

$ yarn build

Commit/Push to GitHub with the latest version number.

$ git add .
$ git commit -m 'v2.x.x: What you changed.'
$ git push origin master

Publish latest docs (you have to be pushed to GitHub for this to work properly).

$ yarn docs

Publish to NPM. It will show you the current version as what you just changed in package.json. Don't increment again when prompted here, just hit enter.

$ yarn publish

FAQs

Package last updated on 14 Sep 2022

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