0.0.4 • Published 5 years ago
styled-components-ui-lib-demo v0.0.4
UI Library Setup
A boilerplate project to get up and running building a UI library using:
- React
- styled-components
- storybook
UI Lib Development
- Clone repo:
git clone git@github.com:jonathanhudak/react-storybook-styled-components-gh-pages.git
npm install
Local Development
npm start
will open uphttp://localhost:9001/
- build components
Deployment
- Add your own git repo remote origin
- Run
npm run deploy
Build
- Run
npm run build
Publish to NPM
- Login to npm
npm login
- 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
- ?