0.2.0 • Published 4 years ago

themebook v0.2.0

Weekly downloads
94
License
MIT
Repository
github
Last release
4 years ago

Actions Status

ThemeBook

A Tiny Component Library and Design System Starter.

It has basic extendible components and basic plumbing using rollup with publish process.

Setup

Download or clone the repository and run the following commands from the root directory locally

yarn

Build and Run Storybook

yarn build-storybook
yarn storybook

Publish

This should be part of your CI pipeline

npm run publish

This creates files array for publishing in package.json and then uses semantic-release to publish to npm

Directory structure thought process

The directory structure looks like this

themebook
  src
    components
    tokens
    utils

Bundling

Using rollup

We build the JSX into transpiled version inside packages. Bundling is upto the consumer application.

import Button from 'themebook/Button';

and if you want to use the ES version you can import it like this

import Button from 'themebook/es/Button';

Contributing

We are always open and invite developers to contribute to ThemeBook. We have kept the guidelines and process dead simple, so you invest more time in making components accessible to all.

Micromodal follows the standardjs coding standard.

Development setup

  1. Clone Github repo $ git clone https://github.com/eeshdarthvader/themebook
  2. Install yarn package manager (Read installation guide)
  3. Run yarn install in the root folder to install all dependencies
  4. Run yarn storybook to start a dev server for storybook.
  5. Make the component in src/component folder with a storybook file.
  6. Send us pull request and chill

 

Licensing

This project is licensed under MIT license.

Created and maintained by

Eesh Tyagi - @EtEesh 🇩🇪

0.2.0

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.4

4 years ago

0.1.5

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.0

4 years ago

0.1.1

4 years ago

0.0.17

4 years ago

0.0.18

4 years ago

0.0.10

4 years ago

0.0.11

4 years ago

0.0.12

4 years ago

0.0.14

4 years ago

0.0.15

4 years ago

0.0.16

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago