Skip to content

Development

Oliver Schwendener edited this page Jul 8, 2024 · 5 revisions

Requirements

  • Node.js v20: https://nodejs.org/en
  • Optional: if you're using Visual Studio Code we recomment to install 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

  • 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