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

cpe-patterns

Package Overview
Dependencies
Maintainers
6
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cpe-patterns

A pattern library authoring environment

  • 4.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
increased by240%
Maintainers
6
Weekly downloads
 
Created
Source

CPE Patterns

NPM version

CPE's Pattern Library, powered by Drizzle

Usage

You can see the pattern library at https://cpe-patterns.netlify.com/

To use the CPE patterns CSS or JS, you can get it via:

npm i cpe-patterns

Documentation

Development

This will start a BrowserSync server on localhost:3000

npm start

Publishing a new version

Make sure you have the latest npm version (npm i -g npm)

  • npm version <new version here> (in a PR)
    • This will update the version number in package.json, package-lock.json, and CHANGELOG.md
  • npm publish (on master, after PR is merged)

Using your local version of cpe-patterns in another project

In your local cpe-patterns folder:

  • npm link - registers the module globally
  • npm start - starts watcher

In a repo that uses cpe-patterns:

  • npm link cpe-patterns - This points node_modules/cpe-patterns to your local cpe-patterns folder

When you want to switch back to the published version of cpe-patterns, just run npm i

Babel Exclusions

We exclude Snapper from Babel, because it causes problems, including preventing the Film Strip navigation in the Carousel pattern from operating.

In general, we prefer to run our dependencies through Babel for consistency, but do not remove this exclusion unless prepared to invest a significant amount of time troubleshooting.

See discussion in this PR.

Keywords

FAQs

Package last updated on 26 Jan 2023

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