louisgv / lrct

component library template

Home Page:https://louisgv.ga/lrct

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

L's React Component Template

What's included:

  1. storybook Storybook
  2. typescript
  3. styled-system
  4. auto-changelog
  5. styled-components

Available Scripts

start

Start the storybook server, used for standalone development.

watch

Watch src and compile with babel and tsc to dist, used for integration development.

dist

Compile using babel and tsc into dist, ready to be deployed.

deploy

Build storybook static page and deploy it via gh-pages.

publish

Bump version and publish dist to remote registry.

Integration Example

import { Footer } from 'lrct/dist/components/Footer'

render(<Footer>Hello</Footer>)

Usage with monorepo (lerna)

It should work out of the box

About

component library template

https://louisgv.ga/lrct

License:MIT License


Languages

Language:HTML 50.0%Language:TypeScript 35.0%Language:JavaScript 15.0%