mirror of
https://github.com/vercel/vercel-plugin.git
synced 2026-09-14 15:39:47 +08:00
657e96a294
Add a MiniSearch-backed lexical index for retrieval frontmatter with synonym and contraction expansion so hooks can rank skills from short natural-language queries. Verified: bun test hooks/lexical-index.test.ts Verified: ./node_modules/.bin/tsc --noEmit --module NodeNext --moduleResolution NodeNext --target ES2022 --strict --skipLibCheck --types node hooks/src/lexical-index.mts Swarm-Agent: codex-lexical-index
31 lines
1.0 KiB
JSON
31 lines
1.0 KiB
JSON
{
|
|
"name": "vercel-plugin",
|
|
"private": true,
|
|
"bin": {
|
|
"vercel-plugin": "src/cli/index.ts"
|
|
},
|
|
"scripts": {
|
|
"build:hooks": "tsup --config hooks/tsup.config.ts",
|
|
"build:manifest": "bun run scripts/build-manifest.ts",
|
|
"build:from-skills": "bun run scripts/build-from-skills.ts",
|
|
"build:from-skills:check": "bun run scripts/build-from-skills.ts --check",
|
|
"build": "bun run build:hooks && bun run build:manifest && bun run build:from-skills",
|
|
"validate": "bun run scripts/validate.ts",
|
|
"doctor": "bun run src/cli/index.ts doctor",
|
|
"typecheck": "tsc -p hooks/tsconfig.json --noEmit",
|
|
"test": "bun run typecheck && bun test",
|
|
"test:update-snapshots": "UPDATE_SNAPSHOTS=1 bun test tests/snapshot-runner.test.ts",
|
|
"playground:generate": "bun run .playground/generate-all.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@anthropic-ai/claude-agent-sdk": "^0.2.70",
|
|
"@types/node": "^25.3.5",
|
|
"@vercel/sandbox": "^1.8.0",
|
|
"tsup": "^8.5.1",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"dependencies": {
|
|
"minisearch": "^7.2.0"
|
|
}
|
|
}
|