moc-designsystem
TypeScript icon, indicating that this package has built-in type declarations

0.3.19 • Public • Published

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.

Package Sidebar

Install

npm i moc-designsystem

Weekly Downloads

1

Version

0.3.19

License

ISC

Unpacked Size

268 kB

Total Files

338

Last publish

Collaborators

  • lucasjs
  • alalbux