UNPKG

repomix

Version:

A tool to pack repository contents to single file for AI consumption

131 lines (130 loc) 4.21 kB
{ "name": "repomix", "version": "1.14.0", "description": "A tool to pack repository contents to single file for AI consumption", "main": "./lib/index.js", "types": "./lib/index.d.ts", "exports": { ".": { "import": { "types": "./lib/index.d.ts", "default": "./lib/index.js" }, "require": { "types": "./lib/index.d.ts", "default": "./lib/index.js" }, "default": "./lib/index.js" } }, "bin": "./bin/repomix.cjs", "scripts": { "prepare": "npm run build", "build": "rimraf lib && tsc -p tsconfig.build.json", "build-bun": "bun run build", "lint": "node --run lint-biome && node --run lint-oxlint && node --run lint-ts && node --run lint-secretlint", "lint-biome": "biome check --write", "lint-oxlint": "oxlint --fix", "lint-ts": "tsgo --noEmit", "lint-secretlint": "secretlint \"**/*\" --secretlintignore .gitignore", "test": "vitest", "test-coverage": "vitest run --coverage", "repomix": "node --run build && node --enable-source-maps --trace-warnings bin/repomix.cjs", "repomix-src": "node --run repomix -- --include 'src,tests'", "repomix-website": "node --run repomix -- --include 'website'", "time-node": "node --run build && time node bin/repomix.cjs", "time-bun": "bun run build && time bun bin/repomix.cjs", "bench": "node --run build && hyperfine --warmup 2 --runs 10 'node bin/repomix.cjs'", "bench:cores": "node --run build && bash scripts/bench-cores.sh", "memory-check": "node --run repomix -- --verbose | grep Memory", "memory-check-one-file": "node --run repomix -- --verbose --include 'package.json' | grep Memory", "website": "docker compose -f website/compose.yml build --no-cache && docker compose -f website/compose.yml up", "website-bundle": "docker compose -f website/compose.bundle.yml build --no-cache && docker compose -f website/compose.bundle.yml up", "website-generate-schema": "tsx website/client/scripts/generateSchema.ts", "pinact-run": "pinact run", "pinact-check": "pinact run --check" }, "keywords": [ "repository", "generative-ai", "ai", "llm", "source-code", "code-analysis", "codebase-packer", "development-tool", "ai-assistant", "code-review" ], "repository": { "type": "git", "url": "git://github.com/yamadashy/repomix.git" }, "bugs": { "url": "https://github.com/yamadashy/repomix/issues" }, "author": "Kazuki Yamada <koukun0120@gmail.com>", "homepage": "https://github.com/yamadashy/repomix", "license": "MIT", "publishConfig": { "access": "public" }, "files": [ "lib/", "bin/", "README.md", "LICENSE" ], "type": "module", "dependencies": { "@clack/prompts": "^0.11.0", "@modelcontextprotocol/sdk": "^1.29.0", "@repomix/strip-comments": "^2.4.2", "@repomix/tree-sitter-wasms": "^0.1.16", "@secretlint/core": "^11.6.0", "@secretlint/secretlint-rule-preset-recommend": "^11.6.0", "commander": "^14.0.3", "fast-xml-builder": "^1.1.4", "git-url-parse": "^16.1.0", "globby": "^16.2.0", "gpt-tokenizer": "^3.4.0", "handlebars": "^4.7.9", "iconv-lite": "^0.7.0", "is-binary-path": "^3.0.0", "isbinaryfile": "^5.0.2", "jiti": "^2.6.1", "jschardet": "^3.1.4", "json5": "^2.2.3", "minimatch": "^10.2.5", "picocolors": "^1.1.1", "picospinner": "^3.0.0", "tar": "^7.5.13", "tinyclip": "^0.1.12", "tinypool": "^2.1.0", "valibot": "^1.3.1", "web-tree-sitter": "^0.26.8", "zod": "^4.3.6" }, "devDependencies": { "@biomejs/biome": "^2.4.11", "@secretlint/types": "^11.6.0", "@types/node": "^24.12.2", "@types/strip-comments": "^2.0.4", "@typescript/native-preview": "^7.0.0-dev.20260412.1", "@valibot/to-json-schema": "^1.6.0", "@vitest/coverage-v8": "^4.1.4", "@xmldom/xmldom": "^0.9.9", "git-up": "^8.1.1", "oxlint": "^1.59.0", "rimraf": "^6.1.3", "secretlint": "^11.6.0", "tsx": "^4.21.0", "typescript": "^5.9.3", "vite": "^8.0.8", "vitest": "^4.1.4" }, "engines": { "node": ">=20.0.0", "yarn": ">=1.22.22" } }