MOC Design System
![https://nodei.co/npm/moc-designsystem.png?downloads=true&downloadRank=true&stars=true](https://nodei.co/npm/moc-designsystem.png?downloads=true&downloadRank=true&stars=true)
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
$ FooBar
$ 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.
$ git checkout -b feature/oauth
$ git checkout -b login_fix
Use dashes to separate words.
$ git checkout -b feature/add-webhook
$ git checkout -b feature/add_webhook
Use default prefixes for new branches, to allow automated workflows and make branch types clearer.
$ bugfix/foo-bar
feature/foo-bar
hotfix/foo-bar
release/foo-bar
Merges
Merges should be always squashed to turn the commit message into the pull request title.