mirror of
https://github.com/yamadashy/repomix.git
synced 2026-03-25 10:52:57 +01:00
prepack does not reliably run when installing repomix as a git dependency, causing the server Docker build to fail (lib/ directory missing). Change to prepare which reliably runs for git dependency installation. Also change npm ci --omit=dev to npm prune --omit=dev in Dockerfile and CI, since npm prune does not trigger lifecycle scripts (avoiding prepare failure when devDependencies are no longer available). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
127 lines
3.9 KiB
JSON
127 lines
3.9 KiB
JSON
{
|
|
"name": "repomix",
|
|
"version": "1.12.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",
|
|
"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.27.1",
|
|
"@repomix/strip-comments": "^2.4.2",
|
|
"@repomix/tree-sitter-wasms": "^0.1.16",
|
|
"@secretlint/core": "^11.3.1",
|
|
"@secretlint/secretlint-rule-preset-recommend": "^11.3.1",
|
|
"clipboardy": "^5.3.1",
|
|
"commander": "^14.0.3",
|
|
"fast-xml-builder": "^1.1.4",
|
|
"git-url-parse": "^16.1.0",
|
|
"globby": "^16.1.1",
|
|
"handlebars": "^4.7.8",
|
|
"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",
|
|
"log-update": "^7.2.0",
|
|
"minimatch": "^10.2.4",
|
|
"picocolors": "^1.1.1",
|
|
"tar": "^7.5.11",
|
|
"tiktoken": "^1.0.22",
|
|
"tinypool": "^2.1.0",
|
|
"web-tree-sitter": "^0.26.6",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.4.7",
|
|
"@secretlint/types": "^11.3.1",
|
|
"@types/node": "^24.12.0",
|
|
"@types/strip-comments": "^2.0.4",
|
|
"@typescript/native-preview": "^7.0.0-dev.20260314.1",
|
|
"@vitest/coverage-v8": "^4.1.0",
|
|
"@xmldom/xmldom": "^0.8.11",
|
|
"git-up": "^8.1.1",
|
|
"oxlint": "^1.55.0",
|
|
"rimraf": "^6.1.3",
|
|
"secretlint": "^11.3.1",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^7.3.1",
|
|
"vitest": "^4.1.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0",
|
|
"yarn": ">=1.22.22"
|
|
}
|
|
}
|