Skip to content

Development

Oliver Schwendener edited this page Jul 31, 2024 · 7 revisions

Requirements

  • Node.js v20: https://nodejs.org/en
  • Optional: if you're using Visual Studio Code we recommend installing the recommended extensions

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