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

@economist/design-system

Package Overview
Dependencies
Maintainers
21
Versions
645
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@economist/design-system

Economist Design System

  • 0.0.11-canary.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.6K
increased by386.67%
Maintainers
21
Weekly downloads
 
Created
Source

The Economist Design System

Overview

This is the repository for the Economist Design System. https://www.economistdesignsystem.com

Directory Structure

  • src - The components for the Design System (JavaScript and CSS modules)
  • examples - Examples of how to reference the Design System in a project
  • www - The website for economistdesignsystem.com

## Building

Run npm run build to run all the build steps.

This will run steps to compile JavaScript and CSS and output importable modules to ./dist.

Examples

To see how to use the Design System components in your own projects, checkout the examples in ./examples/.

e.g.

cd examples/next-js
npm install
npm run dev

Deploying

There are build and deploy command defined in in package.json but deployment and release is not yet automated (you must have AWS credentials appropriately configured for the deploy command to work).

Publishing to NPM

Automated module publishing is not yet configured, currently you must have access to the @economist org on NPM to publish modules.

To publish a canary (preview) release, update the 'version' in package.json to add the suffix -canary. followed by a version number (e.g. so it looks like "version": "0.0.1-canary.0") and run NPM with the --tag option:

npm publish --tag canary

To publish a 'production' release, just run NPM publish:

npm publish

FAQs

Package last updated on 20 May 2019

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