Socket
Socket
Sign inDemoInstall

moc-designsystem

Package Overview
Dependencies
110
Maintainers
2
Versions
58
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    moc-designsystem

This README would normally document whatever steps are necessary to get your application up and running.


Version published
Maintainers
2
Install size
23.2 MB
Created

Readme

Source

MOC Design System

https://nodei.co/npm/moc-designsystem.png?downloads=true&downloadRank=true&stars=true

Moc-designsystem on npm

Run the project locally

Clone the project and install the dependencies:

$ git clone git@bitbucket.org:coffeecup/moc-designsystem.git
$ cd moc-designsystem
$ npm install

Scripts

Test:

$ npm test

Lint:

$ npm run lint

Generate new component:

$ npm run generate
# Enter component name
$ FooBar
# Check if it's a Stateless Component
$ y/n
Storybook:
$ npm run storybook

Open http://localhost:6006 to view it in the browser.

Build Storybook:
$ npm run build-storybook

Branches

Choose short and descriptive names.

# Good
$ git checkout -b feature/oauth

# Bad
$ git checkout -b login_fix

Use dashes to separate words.

# Good
$ git checkout -b feature/add-webhook

# Bad
$ git checkout -b feature/add_webhook

Use default prefixes for new branches, to allow automated workflows and make branch types clearer.

# Bugfix
$ bugfix/foo-bar

# Feature
feature/foo-bar

# Hotfix
hotfix/foo-bar

# Release
release/foo-bar

Merges

Merges should be always squashed to turn the commit message into the pull request title.

Keywords

FAQs

Last updated on 20 Mar 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc