UNPKG

packx

Version:

Smart file filter for AI consumption - search and bundle only files containing specific strings

97 lines (96 loc) 4.19 kB
{ "name": "packx", "version": "4.17.0", "description": "Smart file filter for AI consumption - search and bundle only files containing specific strings", "license": "MIT", "type": "module", "author": "John Lindquist", "repository": { "type": "git", "url": "git+https://github.com/johnlindquist/pack.git" }, "bugs": { "url": "https://github.com/johnlindquist/pack/issues" }, "homepage": "https://github.com/johnlindquist/pack#readme", "files": [ "dist/**", "README.md" ], "keywords": [ "filter", "search", "bundle", "pack", "ai", "llm", "code" ], "bin": { "packx": "dist/index.js", "pack": "dist/index.js" }, "scripts": { "build": "bun build ./src/index.ts --outdir dist --target node --format esm --minify", "bundle:llm": "bun build ./src/index.ts --outfile llm-bundle.js --target node --format esm --minify --external '@inquirer/prompts' --external '@xenova/transformers' --external chokidar --external cli-highlight --external fzf --external glob --external ignore --external ink --external ink-text-input --external js-tiktoken --external minimatch --external p-limit --external react --external sharp --external tree-sitter-wasms --external web-tree-sitter --external yaml --external yargs", "bundle:llm:stdout": "bun build ./src/index.ts --outfile /tmp/llm-bundle.js --target node --format esm --minify --external '@inquirer/prompts' --external '@xenova/transformers' --external chokidar --external cli-highlight --external fzf --external glob --external ignore --external ink --external ink-text-input --external js-tiktoken --external minimatch --external p-limit --external react --external sharp --external tree-sitter-wasms --external web-tree-sitter --external yaml --external yargs >/dev/null 2>&1 && cat /tmp/llm-bundle.js", "test": "bun test", "test:e2e": "bun test test/e2e/", "test:watch": "bun test --watch", "dev": "bun run ./src/index.ts", "prepublishOnly": "npm run update-version-in-code && npm run build", "update-version-in-code": "node scripts/update-version.js", "release:patch": "npm version patch && npm publish && git push && git push --tags", "release:minor": "npm version minor && npm publish && git push && git push --tags", "release:major": "npm version major && npm publish && git push && git push --tags", "compile": "bun build ./src/index.ts --compile --outfile bin/pack", "compile:all": "npm run compile:macos && npm run compile:linux && npm run compile:windows", "compile:macos": "bun build ./src/index.ts --compile --target bun-darwin-x64 --outfile bin/pack-macos-x64", "compile:macos-arm": "bun build ./src/index.ts --compile --target bun-darwin-arm64 --outfile bin/pack-macos-arm64", "compile:linux": "bun build ./src/index.ts --compile --target bun-linux-x64 --outfile bin/pack-linux-x64", "compile:linux-arm": "bun build ./src/index.ts --compile --target bun-linux-arm64 --outfile bin/pack-linux-arm64", "compile:windows": "bun build ./src/index.ts --compile --target bun-windows-x64 --outfile bin/pack-windows-x64.exe" }, "dependencies": { "@inquirer/prompts": "^8.0.2", "@types/yargs": "^17.0.35", "@xenova/transformers": "^2.17.2", "chokidar": "^5.0.0", "cli-highlight": "^2.1.11", "fzf": "^0.5.2", "glob": "^13.0.0", "ignore": "^7.0.5", "ink": "^6.5.1", "ink-text-input": "^6.0.0", "js-tiktoken": "^1.0.21", "minimatch": "^10.1.1", "p-limit": "^7.2.0", "react": "^19.2.3", "sharp": "^0.34.5", "tree-sitter-wasms": "^0.1.13", "web-tree-sitter": "^0.25.10", "yaml": "^2.8.2", "yargs": "^18.0.0" }, "devDependencies": { "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@semantic-release/npm": "^13.1.2", "@types/bun": "^1.3.3", "@types/node": "^24.10.1", "@types/react": "^19.2.7", "semantic-release": "^25.0.2", "typescript": "^5.9.3" }, "engines": { "bun": ">=1.1.0" }, "publishConfig": { "access": "public" }, "trustedDependencies": [ "protobufjs", "tree-sitter-javascript", "tree-sitter-python" ] }