0.0.4 • Published 5 years ago

styled-components-ui-lib-demo v0.0.4

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

UI Library Setup

View this project's storybook

A boilerplate project to get up and running building a UI library using:

  • React
  • styled-components
  • storybook

UI Lib Development

  1. Clone repo: git clone git@github.com:jonathanhudak/react-storybook-styled-components-gh-pages.git
  2. npm install

Local Development

  1. npm start will open up http://localhost:9001/
  2. build components

Deployment

  1. Add your own git repo remote origin
  2. Run npm run deploy

Build

  1. Run npm run build

Publish to NPM

  1. Login to npm npm login
  2. Run npm run publish

Reference Links

Todo

  • Add eslint
  • Add prettier
  • Add precommit hook
  • Add test task
  • Add test task to precommit hook
  • Add module bundling for whole library and individual components
  • Add eslint-plugin-jsx-a11y
  • ?