---
title: project.tuya.json Project Configuration
---

# project.tuya.json Project Configuration

You can configure a project by using the `project.tuya.json` file in the project root directory.

| Field name      | Type    | Required | Description                                                                                                                                                                        |
| --------------- | ------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| projectname     | string  | Yes      | The name of a specified project.                                                                                                                                                   |
| description     | string  | Yes      | The description of a specified project.                                                                                                                                            |
| projectId       | string  | Yes      | The ID of a specified project. You can get it on the Tuya MiniApp Developer Platform.                                                                                              |
| compileType     | `miniprogram` \| `widget`  | No       | The compilation type. `miniprogram` for miniapp, `widget` for Miniapp Card. Default value: `miniprogram`.                                                                                                                                |
| miniprogramRoot | string  | No       | Specify the relative path of the miniapp's source code. That is, the directory where the `app.json` file is located.                                                               |
| i18n            | boolean | No       | Specify whether to enable multilingual settings.                                                                                                                                   |
| baseversion     | string  | Yes      | The version of the base library used for development and debugging. You can get it from the Tuya MiniApp IDE.                                                                    |
| dependencies    | Object  | Yes      | Declare the minimum version of the kit API dependency used by the miniapp. For more information, see [API](/en/miniapp/develop/miniapp/api/base/applicationLevelEvents/onAppShow). |

<!--
| pluginRoot      | string  | No   | Specify the relative path of the plugin source code （`plugin.json` The directory where the file is located）  |
| pluginAppid     | string  | No   | Plugin ID                                                |
-->
