Files
caveman/package.json
T
Julius Brussee 1ce38a2295 refactor: consolidate hooks/ rules/ tools/ mcp-servers/ under src/
Drops top-level entry count from ~26 to ~22 to align with conventions in
mature skill libraries (anthropics/skills, vercel-labs/skills). agents/,
commands/, skills/, and .claude-plugin/plugin.json stay at the repo root
because Claude Code auto-discovers them at the plugin root.

What moved:
  hooks/        → src/hooks/
  rules/        → src/rules/
  tools/        → src/tools/
  mcp-servers/  → src/mcp-servers/

Path references updated atomically in:
  - bin/install.js (HOOKS_REMOTE, INIT_SCRIPT_URL, repoRoot/sourceDir paths,
    user-facing install hints)
  - .claude-plugin/plugin.json (CLAUDE_PLUGIN_ROOT/src/hooks/...)
  - package.json files: array
  - tests/{test_hooks,test_symlink_flag,test_caveman_init,test_mcp_shrink,
    verify_repo}: bash/node command paths and require() args
  - tests/verify_repo.py: also drops the dead .cursor/.windsurf/.clinerules/
    copilot-instructions/caveman dotdir-mirror checks left behind by be714a3
    plus adds bin/install.js + bin/lib/settings.js regression guards
  - commands/caveman-init.toml prompt
  - src/mcp-servers/caveman-shrink/package.json repository.directory
  - CLAUDE.md, CONTRIBUTING.md, README.md, src/hooks/install.{sh,ps1},
    src/hooks/uninstall.{sh,ps1}, src/tools/caveman-init.js: docstrings,
    URL paths, source-of-truth tables

External raw.githubusercontent.com URL updates (referrers, blog posts) are
the maintainer's lane.
2026-05-10 14:26:11 +02:00

36 lines
777 B
JSON

{
"name": "caveman-installer",
"version": "0.1.0",
"description": "Caveman installer — detects your AI coding agents and installs caveman for each one.",
"license": "MIT",
"author": "Julius Brussee",
"homepage": "https://github.com/JuliusBrussee/caveman",
"repository": {
"type": "git",
"url": "git+https://github.com/JuliusBrussee/caveman.git"
},
"bugs": {
"url": "https://github.com/JuliusBrussee/caveman/issues"
},
"bin": {
"caveman": "./bin/install.js"
},
"engines": {
"node": ">=18"
},
"scripts": {
"test": "node --test tests/installer/*.test.mjs"
},
"files": [
"bin/",
"src/",
"agents/",
"skills/",
"plugins/",
"commands/",
"dist/caveman.skill",
"README.md",
"LICENSE"
]
}