Skip to content

Repository files navigation

React Component Library Playground

OVERIVEW

This is a playground for experimenting with a component library. This is intended to provide:

  • a small app to experiment with a component library locally.
  • a lightweight webpack config (for development and production)
  • some helpful tooling for development workflow
  • a similar setup to what you'll see in the wild

UP & RUNNING

  • Install dependencies $ npm install or $ yarn

  • Fire up a development server:

  • $ npm run dev

Once the server is running, you can visit http://localhost:8080/

Linting

This assumes you have eslint and eslint-watch installed. If you don't, run the following:

$ npm i -g eslint eslint-watch

or if you need permissions:

$ sudo npm i -g eslint eslint-watch

To run the linter once:

$ npm run lint

To run the watch task:

$ npm run lint:watch

Testing

To run the tests:

$ npm test

Production Build

To build your production assets and run the server:

$ npm start

About

playground to test the ui-core component library

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages