Files
BMAD-METHOD/package.json
T
Alex Verkhovsky 5e196c8910 chore: rewrite the deterministic skill validator in Python
Replace tools/validate-skills.js with a stdlib Python 3.11 port and rewire
validate:skills and test:skills onto it. Observable behavior is preserved,
including the JS frontmatter quirks; in-skill file walks are sorted.
2026-08-28 07:07:39 -06:00

97 lines
4.2 KiB
JSON

{
"$schema": "https://json.schemastore.org/package.json",
"name": "bmad-method",
"version": "6.11.0",
"description": "Breakthrough Method of Agile AI-driven Development",
"keywords": [
"agile",
"ai",
"orchestrator",
"development",
"methodology",
"agents",
"bmad"
],
"repository": {
"type": "git",
"url": "git+https://github.com/bmad-code-org/BMAD-METHOD.git"
},
"license": "MIT",
"author": "Brian (BMad) Madison",
"scripts": {
"docs:build": "node tools/build-docs.mjs",
"docs:dev": "astro dev --root website",
"docs:fix-links": "node tools/fix-doc-links.js",
"docs:preview": "astro preview --root website",
"docs:validate-links": "node tools/validate-doc-links.js",
"docs:validate-sidebar": "node tools/validate-sidebar-order.js",
"format:check": "prettier --check \"**/*.{js,cjs,mjs,json,yaml}\"",
"format:fix": "prettier --write \"**/*.{js,cjs,mjs,json,yaml}\"",
"format:fix:staged": "prettier --write",
"lint": "eslint . --ext .js,.cjs,.mjs,.yaml --max-warnings=0",
"lint:fix": "eslint . --ext .js,.cjs,.mjs,.yaml --fix",
"lint:md": "markdownlint-cli2 \"**/*.md\"",
"prepare": "command -v husky >/dev/null 2>&1 && husky || exit 0",
"quality": "npm run format:check && npm run lint && npm run lint:md && npm run docs:build && npm run test:site-url && npm run test:implementation-model && npm run test:renderer && npm run test:npx-skills && npm run test:retrospective && npm run test:sprint-planning && npm run test:refs && npm run validate:refs && npm run test:skills && npm run validate:skills && npm run docs:validate-sidebar",
"test": "npm run test:refs && npm run test:site-url && npm run test:implementation-model && npm run test:renderer && npm run test:npx-skills && npm run test:retrospective && npm run test:sprint-planning && npm run test:skills && npm run lint && npm run lint:md && npm run format:check",
"test:npx-skills": "uv run --python 3.11 python -m unittest tools/tests/test_bmad_setup.py",
"test:implementation-model": "node test/test-validate-published-implementation-model.mjs",
"test:refs": "uv run --python 3.11 --with \"pyyaml>=6.0.2,<7\" python -m unittest tools/tests/test_validate_file_refs.py",
"test:renderer": "uv run --python 3.11 python -m unittest skills/bmad/scripts/tests/test_config_utils.py skills/bmad/scripts/tests/test_resolve_config.py skills/bmad/scripts/tests/test_resolve_customization.py && node test/test-build-auto-renderer.js",
"test:retrospective": "uv run --python 3.11 skills/bmad-retrospective/scripts/tests/test_git_evidence.py && uv run --python 3.11 skills/bmad-retrospective/scripts/tests/test_sprint_status.py",
"test:site-url": "node test/test-site-url.mjs",
"test:skills": "uv run --python 3.11 python -m unittest tools/tests/test_validate_skills.py",
"test:sprint-planning": "uv run --python 3.11 skills/bmad-sprint-planning/scripts/tests/test_sprint_plan.py && node test/test-template-sync.js",
"validate:refs": "uv run --python 3.11 tools/validate_file_refs.py --strict",
"validate:skills": "uv run --python 3.11 tools/validate_skills.py --strict"
},
"lint-staged": {
"*.{js,cjs,mjs}": [
"npm run lint:fix",
"npm run format:fix:staged"
],
"*.yaml": [
"eslint --fix",
"npm run format:fix:staged"
],
"*.json": [
"npm run format:fix:staged"
],
"*.md": [
"markdownlint-cli2"
]
},
"overrides": {
"esbuild": "^0.28.1",
"markdownlint-cli2": {
"markdown-it": "^14.2.0"
}
},
"devDependencies": {
"@astrojs/sitemap": "^3.7.3",
"@astrojs/starlight": "^0.40.0",
"@eslint/js": "^9.33.0",
"astro": "^6.4.6",
"eslint": "^9.33.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-n": "^17.21.3",
"eslint-plugin-unicorn": "^60.0.0",
"eslint-plugin-yml": "^1.18.0",
"husky": "^9.1.7",
"lint-staged": "^16.1.1",
"markdownlint-cli2": "^0.19.1",
"prettier": "^3.7.4",
"prettier-plugin-packagejson": "^2.5.19",
"sharp": "^0.33.5",
"unist-util-visit": "^5.1.0",
"yaml-eslint-parser": "^1.2.3",
"yaml-lint": "^1.7.0"
},
"engines": {
"node": ">=20.12.0"
},
"publishConfig": {
"access": "public"
}
}