{
  "name": "coc-import-cost-fast",
  "displayName": "Import Cost Fast",
  "description": "Display import/require package size in the editor",
  "license": "MIT",
  "version": "3.6.0",
  "publisher": "ruban-s",
  "files": [
    "src",
    "lib"
  ],
  "categories": [
    "Other"
  ],
  "activationEvents": [
    "onLanguage:javascript",
    "onLanguage:javascriptreact",
    "onLanguage:javascript.jsx",
    "onLanguage:typescript",
    "onLanguage:typescript.tsx",
    "onLanguage:typescript.jsx",
    "onLanguage:typescriptreact"
  ],
  "keywords": [
    "coc.nvim",
    "import",
    "require",
    "size",
    "weight",
    "webpack"
  ],
  "main": "./lib/extension.js",
  "engines": {
    "coc": "^0.0.66"
  },
  "contributes": {
    "configuration": {
      "type": "object",
      "title": "Import Cost configuration",
      "properties": {
        "importCost.typescriptExtensions": {
          "type": "array",
          "default": [
            "\\.tsx?$"
          ],
          "description": "File extensions to be parsed by the Typescript parser"
        },
        "importCost.javascriptExtensions": {
          "type": "array",
          "default": [
            "\\.jsx?$"
          ],
          "description": "File extensions to be parsed by the Javascript parser"
        },
        "importCost.bundleSizeDecoration": {
          "type": "string",
          "default": "both",
          "enum": [
            "both",
            "minified",
            "gzipped"
          ],
          "description": "Which bundle size to display"
        },
        "importCost.showCalculatingDecoration": {
          "type": "boolean",
          "default": true,
          "description": "Display the 'calculating' decoration when starting to calculate the size"
        },
        "importCost.debug": {
          "type": "boolean",
          "default": false,
          "description": "Enable debug logging"
        },
        "importCost.timeout": {
          "type": "number",
          "default": 10000,
          "description": "Size calculation timeout in milliseconds (requires restart)"
        }
      }
    },
    "commands": [
      {
        "command": "importCost.toggle",
        "title": "Toggle import cost"
      }
    ]
  },
  "scripts": {
    "build": "tsc -p ./",
    "lint": "npx @biomejs/biome check src/",
    "compile": "tsc -watch -p ./"
  },
  "devDependencies": {
    "@types/node": "^22.0.0",
    "typescript": "5.9.3"
  },
  "dependencies": {
    "coc.nvim": "^0.0.82",
    "filesize": "^10.1.6",
    "import-cost-core": "file:../import-cost",
    "vscode-languageserver-protocol": "^3.17.5"
  },
  "icon": "images/import-cost-logo.png",
  "galleryBanner": {
    "color": "#1C78C0",
    "theme": "dark"
  },
  "homepage": "https://github.com/ruban-s/import-cost/blob/master/packages/coc-import-cost/README.md",
  "repository": {
    "type": "git",
    "url": "https://github.com/ruban-s/import-cost.git"
  }
}
