Files
skill/package.json
zeekay 84640a161e feat: add tests, CI/CD, fix SKILL.md double-counting bug
- 33 tests covering normalizeGitUrl, extractDirName, countSkills,
  symlinkToAgents, unlinkFromAgents, and CLI smoke tests
- Node.js built-in test runner (zero test deps)
- GitHub Actions CI: test on Node 20+22, auto-publish on version bump
- Fix: SKILL.md was double-counted by both subdirectory scan and
  category .md scan — now excluded from .md pattern match
- Bump to v1.0.1
2026-02-26 17:55:55 -08:00

36 lines
1009 B
JSON

{
"name": "@hanzo/skill",
"version": "1.0.1",
"description": "Install and manage AI agent skills — ~/.hanzo/skills/ as canonical source, symlinked to all agents",
"keywords": ["ai", "agents", "skills", "mcp", "claude", "cursor", "codex", "hanzo"],
"license": "MIT",
"author": "Hanzo AI <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/hanzoai/skill.git"
},
"homepage": "https://hanzo.ai",
"type": "module",
"bin": {
"hanzo-skill": "dist/cli.js",
"skill": "dist/cli.js"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"!dist/**/*.test.*"
],
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"test": "npm run build && node --test dist/index.test.js",
"test:ci": "npm run build && node --test --test-reporter=spec dist/index.test.js",
"prepublishOnly": "npm run build && npm test"
},
"devDependencies": {
"typescript": "^5.7.0",
"@types/node": "^22.0.0"
}
}