{
  "name": "gframework-config-tool",
  "displayName": "%extension.displayName%",
  "description": "%extension.description%",
  "version": "0.0.3",
  "publisher": "GeWuYou",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/GeWuYou/GFramework.git",
    "directory": "tools/gframework-config-tool"
  },
  "homepage": "https://github.com/GeWuYou/GFramework/tree/main/tools/gframework-config-tool",
  "bugs": {
    "url": "https://github.com/GeWuYou/GFramework/issues"
  },
  "packageManager": "bun@1.2.15",
  "keywords": [
    "gframework",
    "config",
    "yaml",
    "json-schema",
    "game-dev"
  ],
  "engines": {
    "vscode": "^1.90.0"
  },
  "categories": [
    "Other"
  ],
  "activationEvents": [
    "onView:gframeworkConfigExplorer",
    "onCommand:gframeworkConfig.refresh",
    "onCommand:gframeworkConfig.openRaw",
    "onCommand:gframeworkConfig.openSchema",
    "onCommand:gframeworkConfig.openFormPreview",
    "onCommand:gframeworkConfig.batchEditDomain",
    "onCommand:gframeworkConfig.validateAll"
  ],
  "main": "./src/extension.js",
  "scripts": {
    "test": "node --test ./test/*.test.js",
    "package:vsix": "vsce package",
    "publish:marketplace": "vsce publish"
  },
  "devDependencies": {
    "@vscode/vsce": "^3.7.1"
  },
  "vsce": {
    "yarn": false
  },
  "contributes": {
    "views": {
      "explorer": [
        {
          "id": "gframeworkConfigExplorer",
          "name": "%view.gframeworkConfig.name%"
        }
      ]
    },
    "commands": [
      {
        "command": "gframeworkConfig.refresh",
        "title": "%command.refresh.title%"
      },
      {
        "command": "gframeworkConfig.openRaw",
        "title": "%command.openRaw.title%"
      },
      {
        "command": "gframeworkConfig.openSchema",
        "title": "%command.openSchema.title%"
      },
      {
        "command": "gframeworkConfig.openFormPreview",
        "title": "%command.openFormPreview.title%"
      },
      {
        "command": "gframeworkConfig.batchEditDomain",
        "title": "%command.batchEditDomain.title%"
      },
      {
        "command": "gframeworkConfig.validateAll",
        "title": "%command.validateAll.title%"
      }
    ],
    "menus": {
      "view/title": [
        {
          "command": "gframeworkConfig.refresh",
          "when": "view == gframeworkConfigExplorer",
          "group": "navigation"
        },
        {
          "command": "gframeworkConfig.validateAll",
          "when": "view == gframeworkConfigExplorer",
          "group": "navigation"
        }
      ],
      "view/item/context": [
        {
          "command": "gframeworkConfig.openRaw",
          "when": "view == gframeworkConfigExplorer && viewItem == gframeworkConfigFile",
          "group": "inline"
        },
        {
          "command": "gframeworkConfig.openSchema",
          "when": "view == gframeworkConfigExplorer && viewItem == gframeworkConfigFile",
          "group": "navigation"
        },
        {
          "command": "gframeworkConfig.openFormPreview",
          "when": "view == gframeworkConfigExplorer && viewItem == gframeworkConfigFile",
          "group": "navigation"
        },
        {
          "command": "gframeworkConfig.batchEditDomain",
          "when": "view == gframeworkConfigExplorer && viewItem == domain",
          "group": "navigation"
        }
      ]
    },
    "configuration": {
      "title": "%configuration.title%",
      "properties": {
        "gframeworkConfig.configPath": {
          "type": "string",
          "default": "config",
          "description": "%configuration.configPath.description%"
        },
        "gframeworkConfig.schemasPath": {
          "type": "string",
          "default": "schemas",
          "description": "%configuration.schemasPath.description%"
        }
      }
    }
  }
}
