Skip to content
This repository has been archived by the owner on Jun 21, 2021. It is now read-only.

Latest commit

 

History

History
74 lines (46 loc) · 2.52 KB

CONTRIBUTING.md

File metadata and controls

74 lines (46 loc) · 2.52 KB

Contributing to skymp-ui-components

Before you started development

How to start developed?

  1. Clone this repository
git clone https://github.com/svyatoslavratov/skymp-ui-components.git
  1. Install all dependencies
npm install
  1. Run the complete test suite
npm run test
  1. Start development
npm run start

Where are components tested and view?

Begin testing and view components with Storybook

npm run storybook

Storybook will available on localhost on port that point in package.json

Development workflow

  • npm start runs rollup watcher
  • npm run lint checks the code style
  • npm test runs the complete test suite
  • npm pretty runs prettier with autofix
  • npm run storybook builds and runs the storybook on localhost

More scripts see in package.json

Recommended extensions for VS code

These extensions will create best developer experience