Skip to content

Development

Oliver Schwendener edited this page Nov 19, 2024 · 8 revisions

Requirements

Setup

  • Install dependencies

    $ npm install
    

Running the app

  • Run app in dev mode

    $ npm run dev
    

Debugging

If you're using Visual Studio Code, you can start the debugger for the main process, see screenshot: vscode-debugging

Quality checks

  • Check formatting

    $ npm run prettier:check
    
  • Format the code

    $ npm run prettier:write
    
  • Lint files

    $ npm run lint
    
  • Perform typecheck

    $ npm run typecheck
    
  • Run tests

    $ npm run test
    

Build and package the app

  • Build

    $ npm run build
    
  • Package

    $ npm run package
    
Clone this wiki locally