---
title: project.config.json
---

## `project.config.json`

`project.config.json` is the configuration file for miniapp projects, used to set up project basic information, compilation settings, and developer tools.

* `devMode`: Specifies whether to enable Ray automatic compilation.
   * `ray`: Enable Ray automatic compilation.
   * `npm`: Run `npm run start`, the script in `package.json `.
   * Empty string or not configured: Compile them manually.
* `remoteDebug`: The debug mode.
   * `mqtt`: Use the remote mode, requiring internet access.
   * `lan`: Use the LAN mode, requiring the developer tool and the app to run on the same network.
* `compileType`: The compilation type.
   * `miniprogram`: The miniapp.
   * `widget`: The Miniapp Card.
