Skip to content

Latest commit

 

History

History
88 lines (58 loc) · 1.37 KB

File metadata and controls

88 lines (58 loc) · 1.37 KB

🖥️ Develop

IDE Setup

VSCode like

Zed

  1. Install extensions: Biome, oxc
  2. Copy the example settings file to your local Zed config:
    cp .zed/settings.json.example .zed/settings.json
  3. Customize .zed/settings.json as needed (it is git-ignored).

Project Setup

Install

pnpm install

Development

Setup Node.js

The required Node.js version is defined in .node-version. Use a version manager like nvm or fnm to install it automatically:

nvm install

Setup pnpm

The pnpm version is locked in the packageManager field of package.json. Just enable corepack and it will use the correct version automatically:

corepack enable

Install Dependencies

pnpm install

ENV

cp .env.example .env

Start

pnpm dev

Debug

pnpm debug

Then input chrome://inspect in browser

Test

pnpm test

Build

# For windows
$ pnpm build:win

# For macOS
$ pnpm build:mac

# For Linux
$ pnpm build:linux