Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.21 KB

README.md

File metadata and controls

44 lines (27 loc) · 1.21 KB

Storybook design system

Storybook design system

NPM JavaScript Style Guide

Install

npm install --save @storybook/design-system

Usage

import React, { Component } from 'react';

import MyComponent from '@storybook/design-system';

class Example extends Component {
  render() {
    return <MyComponent />;
  }
}

Development Scripts

yarn release

Bump the version

Push a release to GitHub and npm

Push a changelog to GitHub

Notes:

  • Requires authentication with npm adduser
  • auto is used to generate a changelog and push it to GitHub. In order for this to work correctly, an environment variable called GH_TOKEN is needed that references a GitHub personal access token with the appropriate permissions to update the repo.

License

MIT © shilman