Skip to content
Development
Command

/dev-commands

Run application commands from the **repository root**, where the application `package.json` lives. The desktop runtime is Tauri with a React renderer in WebView2. Rust implements the native services.

From plugin
eisland
3558 skills8 commands
$ npx -y skills add JNTMTMTM/eIsland --agent claude-code

Command definition

dev-commands.md
title: Development Commands
icon: code

Development Commands

Run application commands from the **repository root**, where the application `package.json` lives. The desktop runtime is Tauri with a React renderer in WebView2. Rust implements the native services.

First setup

Windows x64 requires Node.js 24.22.1, Rust with the MSVC toolchain, Visual Studio 2022 C++ build tools, and WebView2.

npm ci --ignore-scripts
npm ci --prefix cli --ignore-scripts
npm run plugins:build

`plugins:build` prepares FFmpeg and ffprobe in `src-tauri/resources/native/` for the target architecture. First setup downloads missing binaries. Development and direct Tauri builds consume these resources.

Start the desktop application

npm run dev

Tauri runs `npm run dev:web`, starts Vite at `http://localhost:1420`, compiles the Rust host and opens the desktop windows. React edits use Fast Refresh; Rust edits rebuild the host. Native plugin changes require the separate preparation command.

`npm run dev:web` starts only the renderer server. Native desktop APIs require the Tauri host.

Build and run production pages

npm run build

This runs `tauri build --no-bundle`: Vite writes `out/renderer/`, and Cargo builds the native executable without creating an installer. With the default Cargo target directory, the executable is `src-tauri/target/release/eisland.exe`.

Run that executable directly to inspect the embedded production pages. `npm run preview` starts Tauri with host watching disabled and uses the renderer development server.

npm run build:web        # Renderer assets only
npx tauri build      # Native application and NSIS installer; resources must be prepared
npm run package          # Prepare native resources, then build the application and installer

See [Package Commands](package-commands.md) for installer outputs and [Release Commands](release-commands.md) for uploading an existing build.

Native tests

npm run test:api
npm run test:rust
npm run build:e2e
npm run test:e2e   # Real WebView2, music, AI and native service tests

The desktop tests use isolated data directories. Set `EISLAND_SMOKE_BINARY` when the executable is outside the default debug target directory. A direct Cargo build used for these tests must enable the `custom-protocol` feature so it embeds the production pages.

Troubleshooting

  • If port 1420 is occupied, inspect `netstat -ano | findstr :1420` and stop the development process that owns it before restarting.
  • If native resources are missing, run `npm run plugins:build`; its first run may download FFmpeg.
  • If Cargo cannot link, check the MSVC toolchain and the Visual Studio C++ workload. A renderer-only build does not validate the Rust executable or bundled media binaries.
  • `CARGO_TARGET_DIR` can relocate Cargo output. Update `EISLAND_SMOKE_BINARY` to the resulting executable path when running desktop tests.
Read more
@jntmtmtm
Ships witheisland

eIsland - A sleek, Apple Dynamic Island inspired floating widget for Windows, built with Electron and Tauri.

Stars on GitHub

Momentum

stars in total
355
Star history of JNTMTMTM/eIsland on GitHub, a chart by star-history.com

Other commands on eisland.

cli

cli

Command

:::info This document covers the `eisland-cli` command line tool in `cli/`. It reads the scripts in the root `package.json` at…

@jntmtmtm@jntmtmtmInstall Command
e2e-testing

e2e-testing

Command

Desktop tests launch the actual Tauri executable and connect to its WebView2 debugging endpoint with Playwright. Data and WebView…

@jntmtmtm@jntmtmtmInstall Command
esa-commands

esa-commands

Command

:::info This document covers the ESA (Edge Security Acceleration) CDN cache purge commands for clearing cached content on Alibaba…

@jntmtmtm@jntmtmtmInstall Command
package-commands

package-commands

Command

Run `npm run package` from the repository root to build a local signed Tauri installer. This does not upload, install, deploy or…

@jntmtmtm@jntmtmtmInstall Command
quality-commands

quality-commands

Command

:::info This document covers all code quality commands for the eIsland project — ESLint, Stylelint, HTML validation, comment…

@jntmtmtm@jntmtmtmInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command