{
  "name": "codn_ts",
  "version": "0.1.12",
  "description": "智能代码分析工具 - 支持语义搜索、调用链分析和代码结构可视化，对大模型/AI agent 友好",
  "type": "commonjs",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "files": [
    "dist/",
    "README.md"
  ],
  "scripts": {
    "clean": "npx rimraf dist",
    "build": "npm run clean && tsc && chmod +x dist/cli.js",
    "dev": "ts-node-esm src/test_lsp_tool.ts",
    "start": "node --loader ts-node/esm src/run_lsp_tool.ts",
    "test": "vitest run",
    "test:coverage": "vitest run --coverage",
    "test:watch": "vitest",
    "prepublishOnly": "npm run build && npm test && chmod +x dist/cli.js",
    "lint": "eslint src --ext .ts",
    "lint:fix": "eslint src --ext .ts --fix",
    "format": "prettier --write src/",
    "format:check": "prettier --check src/",
    "install:global": "npm run build && npm test && npm install -g .",
    "docs": "npm run build && echo 'Documentation is in README.md, API.md, and CLI_GUIDE.md'",
    "prepare": "npm run build && npm test"
  },
  "keywords": [
    "typescript",
    "lsp",
    "code-analysis",
    "semantic-search",
    "call-chain",
    "code-visualization",
    "ai-friendly",
    "cli-tool",
    "code-intelligence",
    "static-analysis"
  ],
  "author": "askender",
  "license": "ISC",
  "engines": {
    "node": ">=18.0.0"
  },
  "dependencies": {
    "codn_ts": "^0.1.11",
    "commander": "^14.0.0",
    "glob": "^11.0.3",
    "node-fetch": "^2.7.0",
    "tslog": "^4.9.3"
  },
  "devDependencies": {
    "@types/commander": "^2.12.0",
    "@types/glob": "^8.1.0",
    "@types/node": "^20.0.0",
    "@types/node-fetch": "^2.6.12",
    "@typescript-eslint/eslint-plugin": "^6.0.0",
    "@typescript-eslint/parser": "^6.0.0",
    "@vitest/coverage-v8": "^1.6.1",
    "eslint": "^8.0.0",
    "prettier": "^3.0.0",
    "rimraf": "^5.0.10",
    "ts-node": "^10.9.2",
    "typescript": "^5.3.0",
    "vitest": "^1.0.0"
  },
  "bin": {
    "cod": "dist/cli.js"
  },
  "compilerOptions": {
    "esModuleInterop": true
  },
  "vitest": {
    "setupFiles": [
      "./vitest.setup.ts"
    ],
    "coverage": {
      "provider": "v8",
      "reporter": [
        "text",
        "json",
        "html"
      ],
      "exclude": [
        "node_modules/",
        "dist/",
        "**/*.test.ts",
        "**/*.spec.ts",
        "vitest.setup.ts"
      ]
    }
  }
}
