Project Commands

Development

Use the following command to build and serve an application for development:

yarn start

Application can be accessed for devs at http://localhost:8000/

Production

For production build you can call

yarn build 

Additional commands

Open bundle analyzer in browser:

yarn build-info 

Run code quality tools:

yarn qa

Fix linting errors:

yarn fix

Build storybook:

yarn build-storybook

Run storybook:

yarn storybook

Run linters:

yarn lint

Run ESLint:

yarn eslint

Run Stylelint:

yarn stylelint

Run TypeScrypt checks:

yarn ts

List TypeScrypt files:

yarn ts-files

Show TypeScrypt coverage:

yarn ts-coverage

Checks code style with prettier:

yarn codestyle

Format files with prettier:

yarn format

Launches the test runner:

yarn test

Launches the test runner and show errors only:

yarn test-silent

Show test coverage:

yarn test-coverage

Last updated

Was this helpful?