Files
Its-Achievable/package.json
Kaysser Kayyali 2f6acc0da1 v0.3.0: strip combat HUD; integrate with combat-hud-hub
- Deleted scripts/hud.js, scripts/event-translation.js, styles/hud.css,
  templates/hud.html.
- Removed mod.api.getHud/openHud/closeHud/buildHudUpdatePayload exports.
- Removed hudPosition setting (moved to combat-hud-hub).
- Added hub integration: at ready, if combat-hud-hub is installed,
  register a 'pinned-achievements' section. The chatBubble listener
  now also pushes entries into that section via hub.api.pushFeedEntry.
- Soft-dep on combat-hud-hub (optional); popover still works without
  the hub.
- Tests: 57/57 passing covering sections A-G (rule engine, catalog,
  awarding, hooks wiring, hub integration, graceful degradation).
2026-06-22 12:46:57 -04:00

27 lines
1003 B
JSON

{
"name": "its-achievable",
"version": "0.3.0",
"private": true,
"description": "Foundry VTT v14 module: achievements, custom rules, rewards, achievement wall, and combat HUD. v0.2.0 straps the HUD to the new hooks system. Depends on foundry-hooks-lib (event stream) and battle-focus (encounter state).",
"main": "scripts/main.js",
"type": "module",
"scripts": {
"test": "node tests/verify-achievable-v1.mjs",
"test:foundry": "node tests/verify-achievable-foundry.mjs",
"test:all": "node tests/verify-achievable-v1.mjs && node tests/verify-achievable-foundry.mjs",
"test:verbose": "TEST_VERBOSE=1 node tests/verify-achievable-v1.mjs"
},
"engines": {
"node": ">=18"
},
"author": "kaykayyali",
"license": "UNLICENSED",
"comment": "This package.json is for test/CI tooling only — Foundry VTT modules are loaded by Foundry, not by npm.",
"dependencies": {
"foundry-hooks-lib": "^0.4.0"
},
"devDependencies": {
"playwright-core": "^1.50.0"
}
}