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

Latest commit

 

History

History
59 lines (52 loc) · 1.08 KB

DEVELOPMENT.md

File metadata and controls

59 lines (52 loc) · 1.08 KB

Development

Installation

yarn

Run development environment

The following command will start webpack-dev-server and electron. webpack-dev-server will be ran inside the renderer process. The renderer process will be prepared with:

yarn start

Code validation

Linting

yarn lint #both js and style linting

or

yarn lint:js

or

yarn lint:style

Unit testing

yarn test

or

yarn test:main

or

yarn test:renderer

or

yarn test:renderer --watch

e2e testing

All major features should be covered by e2e tests. e2e tests are ran through spectron.

yarn e2e

Commiting

Commits are linted with commitlint with conventional change rules. It's easiest to use the following command to commit your changes:

yarn git-cz