Skip to content
/ jasper Public
forked from COMPFEST/jasper

Modern React Component Library from COMPFEST

License

Notifications You must be signed in to change notification settings

adzshaf/jasper

 
 

Repository files navigation

jasper-ui

COMPFEST React Component Library

NPM Build CI Deploy Docs codecov

Docs

See the documentation here.

Install

npm install --save jasper-ui

Usage

import React, { Component } from 'react'

import { Button } from 'jasper-ui'
import 'jasper-ui/dist/index.css'

class Example extends Component {
  render() {
    return (
      <Button>Yohohoho</Button>
    )
  }
}

Local setup

To install jasper-ui:

  • npm install

To install documentation page:

  • cd docusaurus && npm install

To run storybook:

  • npm run storybook

To run documentation page:

  • Run this in one terminal:
    • npm start
  • Run this in another terminal:
    • cd docusaurus && npm start

Testing

To run all tests:

  • npm test

To run test with coverage:

  • npm run test:coverage

To run test and update snapshots:

  • npm run test:watch

License

MIT © COMPFEST

About

Modern React Component Library from COMPFEST

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 89.5%
  • CSS 10.5%