An open API service indexing awesome lists of open source software.

https://github.com/devrchancay/esco-components

⚛️ Template for reusable components of React built with Typescript, jest, storybook
https://github.com/devrchancay/esco-components

Last synced: about 1 year ago
JSON representation

⚛️ Template for reusable components of React built with Typescript, jest, storybook

Awesome Lists containing this project

README

          

# Component Library

[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

This project skeleton was created to help people get started with creating their own React component library using:

- [Rollup](https://github.com/rollup/rollup)
- [Styled-components](https://styled-components.com/)
- [TypeScript](https://www.typescriptlang.org/)

It also features:

- [Storybook](https://storybook.js.org/) to help you create and show off your components
- [Jest](https://jestjs.io/) and [React Testing Library](https://github.com/testing-library/react-testing-library) enabling testing of the components

## Development

### Testing

```
npm run test
```

### Building

```
npm run build
```

### Storybook

To run a live-reload Storybook server on your local machine:

```
npm run storybook
```

To export your Storybook as static files:

```
npm run storybook:export
```