{
  "name": "knip",
  "version": "5.88.1",
  "description": "Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects",
  "keywords": [
    "analysis",
    "analyze",
    "class",
    "cli",
    "dead code",
    "dependencies",
    "detect",
    "devDependencies",
    "duplicate",
    "entropy",
    "enum",
    "export",
    "files",
    "find",
    "javascript",
    "lint",
    "maintenance",
    "members",
    "missing",
    "monorepo",
    "namespace",
    "package",
    "scan",
    "types",
    "typescript",
    "unreferenced",
    "unresolved",
    "unused",
    "workspace"
  ],
  "homepage": "https://knip.dev",
  "bugs": "https://github.com/webpro-nl/knip/issues",
  "license": "ISC",
  "author": {
    "name": "Lars Kappert",
    "email": "lars@webpro.nl"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/webpro-nl/knip.git",
    "directory": "packages/knip"
  },
  "funding": [
    {
      "type": "github",
      "url": "https://github.com/sponsors/webpro"
    },
    {
      "type": "opencollective",
      "url": "https://opencollective.com/knip"
    }
  ],
  "bin": {
    "knip": "bin/knip.js",
    "knip-bun": "bin/knip-bun.js"
  },
  "files": [
    "dist",
    "schema.json",
    "schema-jsonc.json"
  ],
  "type": "module",
  "types": "./dist/types.d.ts",
  "exports": {
    ".": {
      "types": "./dist/types.d.ts",
      "default": "./dist/index.js"
    },
    "./session": {
      "types": "./dist/session/index.d.ts",
      "default": "./dist/session/index.js"
    }
  },
  "dependencies": {
    "@nodelib/fs.walk": "^1.2.3",
    "fast-glob": "^3.3.3",
    "formatly": "^0.3.0",
    "jiti": "^2.6.0",
    "minimist": "^1.2.8",
    "oxc-resolver": "^11.19.1",
    "picocolors": "^1.1.1",
    "picomatch": "^4.0.1",
    "smol-toml": "^1.5.2",
    "strip-json-comments": "5.0.3",
    "unbash": "^2.2.0",
    "yaml": "^2.8.2",
    "zod": "^4.1.11"
  },
  "devDependencies": {
    "@jest/types": "^29.6.3",
    "@types/bun": "^1.3.3",
    "@types/minimist": "^1.2.5",
    "@types/picomatch": "^4.0.1",
    "@types/webpack": "^5.28.5",
    "@wdio/types": "^9.20.0",
    "codeclimate-types": "^0.3.1",
    "glob-bin": "^1.0.0",
    "prettier": "^3.8.1",
    "tsx": "^4.21.0",
    "typescript": "^5.8.3"
  },
  "peerDependencies": {
    "@types/node": ">=18",
    "typescript": ">=5.0.4 <7"
  },
  "engines": {
    "node": ">=18.18.0"
  },
  "engineStrict": true,
  "scripts": {
    "knip": "node ./src/cli.ts --directory ../..",
    "knip:production": "node ./src/cli.ts --directory ../.. --production --strict",
    "lint": "oxlint",
    "format": "oxfmt -c ../../.oxfmtrc.json --ignore-path ../../.prettierignore",
    "test": "node scripts/run-test.ts",
    "test:node": "tsx --test test/*.test.ts test/**/*.test.ts",
    "test:bun": "bun test test/*.test.ts test/**/*.test.ts",
    "test:smoke": "glob-bin -c \"tsx --test\" \"test/*.test.ts\" && glob-bin -c \"tsx --test\" \"test/{plugins,util}/*.test.ts\"",
    "test:bun:smoke": "bun test test/*.test.ts test/{plugins,util}/*.test.ts",
    "watch": "npm link && tsc --watch",
    "prebuild": "pnpm run generate-plugin-defs && node rmdir.js dist",
    "build": "tsc",
    "qa": "pnpm lint && pnpm build && pnpm knip && pnpm knip:production && pnpm run test",
    "release": "release-it",
    "create-plugin": "node ./scripts/create-new-plugin.ts",
    "postcreate-plugin": "pnpm run build && (oxfmt schema.json schema-jsonc.json src/schema/plugins.ts || true)",
    "generate-plugin-defs": "node ./scripts/generate-plugin-defs.js && (oxfmt src/plugins/index.ts src/types/PluginNames.ts src/schema/plugins.ts || true)"
  }
}