New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

generator-cosy

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-cosy

A yeoman generator for creating a frontend COmponent SYstem

  • 0.20.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

cosy
COSY

A Yeoman Generator for your COmponent SYstem.
Creates a Lerna Project with Storybook, React, Jest, Rollup Bundle, Visual Regression Tests and more coming soon!

npm version

Usage

Create your project

Install the required tools and generator: yo, generator-cosy

// npm
npm install -g yo generator-cosy

// yarn
yarn global add yo generator-cosy

Make a new directory, and cd into it:

mkdir my-new-component-system && cd $_

Run yo cosy to setup your component system folder structure

yo cosy

Questions the generator will ask

  1. Your project name
  2. Do you want to use @scoped npm package names
  3. Package scope name (only if previous question is true, will use @scope as prefix for your packages)
  4. Do you want to use yarn?
  5. Do you want to use yarn workspaces (only if previous question is true)

Subgenerators

yo cosy:package <component-name>

Generates a new component as package. If you have specified a @scope, this subgenerator will use the package scope as prefix for your new created package name.

You can omit the <component-name> part on the cli, the generator will than ask for your component name.

Questions
  1. Component name (only if not specified as cli argument)
  2. Package name
  3. Atomic design stage (Atom, Molecules, Organism, Template, Page)

Keywords

FAQs

Package last updated on 10 Apr 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