styled-components-ui-lib-demo

0.0.4 • Public • Published

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

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

Readme

Keywords

none

Package Sidebar

Install

npm i styled-components-ui-lib-demo

Weekly Downloads

2

Version

0.0.4

License

MIT

Unpacked Size

14.2 kB

Total Files

19

Last publish

Collaborators

  • jmhudak