@dreadwood-types/types 0.1.293 → 0.1.294

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,11 @@
1
1
  /**
2
- * THE WEEKLY HUNT (AREA_PROPOSALS.md 2026-10-14, B3; T91): one creature of the week for each level band, named on Bruce's
2
+ * THE WEEKLY HUNT (AREA_PROPOSALS.md 2026-10-14, B3; T91): one creature of the week for each board tier of a level band, named on Bruce's
3
3
  * board and the Bounty boards as the "Hunt of the week". It is a pure function of the UTC week (Monday 00:00 to Sunday
4
4
  * 24:00) and the band, never rolled, so every board and every client agree and a test can read it.
5
5
  *
6
- * - The pick: the creatures the board asks for in that band's tiers (the same targets Bruce already offers, so nothing new
7
- * to fight), without the Dreadwoods PvP ones (a player who avoids PvP always has a hunt) and without lone bosses.
6
+ * - The pick: one of the creatures on the player's own board (the same targets Bruce already offers, so nothing new to fight),
7
+ * without the Dreadwoods PvP ones (a player who avoids PvP always has a hunt) and without lone bosses. Everyone on the same
8
+ * board tier gets the same creature; the tiers of a band can differ.
8
9
  * - The contract: the usual bounty, taken at the board; handed in during the week it was taken it pays a second Small
9
10
  * Satchel, once per character per week, and every kill toward it pays its Bounty Hunter XP twice.
10
11
  * - The Ledger: a page of lines, one for the first hunt handed in and one per band (types explorerLedger.ts, section 'weekly').
@@ -22,13 +23,17 @@ export declare function weekEndsAt(week: number): number;
22
23
  export declare const WEEKLY_HUNT_EXTRA_SATCHELS = 1;
23
24
  /** Each kill toward the hunt of the week pays this many extra copies of its Bounty Hunter XP. */
24
25
  export declare const WEEKLY_HUNT_KILL_XP_EXTRA = 1;
25
- /** The offers that can be a band's hunt: the board's own offers of tiers that start inside the band, minus PvP targets and lone bosses. */
26
- export declare function weeklyHuntCandidates(band: FieldGuideBandId): BountyOffer[];
26
+ /**
27
+ * The offers that can be this week's hunt for a player at this Combat level: the offers on THEIR board (so the hunt is always
28
+ * a contract they can take at Bruce or any Bounty board, with the usual count), minus the Dreadwoods PvP targets and lone bosses.
29
+ */
30
+ export declare function weeklyHuntCandidates(combatLevel: number): BountyOffer[];
27
31
  /** The band a Combat level hunts in (1-10, 11-20, 21-30, 31-40; above 40 hunts with the top band, below 1 with the first). */
28
32
  export declare function weeklyHuntBand(combatLevel: number): FieldGuideBandId;
29
- /** This week's hunt for a band: null only if the band has no candidates (never, with the current tiers; a test pins it). */
30
- export declare function weeklyHuntForBand(band: FieldGuideBandId, week: number): BountyOffer | null;
31
- /** This week's hunt for a player at this Combat level. */
33
+ /**
34
+ * This week's hunt for a player at this Combat level: one creature per board tier per week, the same for everyone on that tier,
35
+ * never rolled. Null below Combat 1 (no board).
36
+ */
32
37
  export declare function weeklyHuntFor(combatLevel: number, week: number): (BountyOffer & {
33
38
  band: FieldGuideBandId;
34
39
  }) | null;
@@ -1 +1 @@
1
- {"version":3,"file":"weeklyHunt.d.ts","sourceRoot":"","sources":["../src/weeklyHunt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAgF,KAAK,WAAW,EAAE,MAAM,aAAa,CAAC;AAC7H,OAAO,EAAuC,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAE7F,eAAO,MAAM,OAAO,QAAuB,CAAC;AAI5C,wEAAwE;AACxE,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED,uDAAuD;AACvD,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED,+EAA+E;AAC/E,eAAO,MAAM,0BAA0B,IAAI,CAAC;AAC5C,iGAAiG;AACjG,eAAO,MAAM,yBAAyB,IAAI,CAAC;AAU3C,2IAA2I;AAC3I,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,gBAAgB,GAAG,WAAW,EAAE,CAa1E;AAED,8HAA8H;AAC9H,wBAAgB,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,gBAAgB,CAEpE;AAED,4HAA4H;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E,SAAS;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAGvE,CAAC;AACF,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAEnC,2DAA2D;AAC3D,wBAAgB,eAAe,CAAC,IAAI,EAAE,gBAAgB,GAAG,MAAM,EAAE,CAEhE;AAOD,mGAAmG;AACnG,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,CAQ7F"}
@@ -1,17 +1,18 @@
1
1
  /**
2
- * THE WEEKLY HUNT (AREA_PROPOSALS.md 2026-10-14, B3; T91): one creature of the week for each level band, named on Bruce's
2
+ * THE WEEKLY HUNT (AREA_PROPOSALS.md 2026-10-14, B3; T91): one creature of the week for each board tier of a level band, named on Bruce's
3
3
  * board and the Bounty boards as the "Hunt of the week". It is a pure function of the UTC week (Monday 00:00 to Sunday
4
4
  * 24:00) and the band, never rolled, so every board and every client agree and a test can read it.
5
5
  *
6
- * - The pick: the creatures the board asks for in that band's tiers (the same targets Bruce already offers, so nothing new
7
- * to fight), without the Dreadwoods PvP ones (a player who avoids PvP always has a hunt) and without lone bosses.
6
+ * - The pick: one of the creatures on the player's own board (the same targets Bruce already offers, so nothing new to fight),
7
+ * without the Dreadwoods PvP ones (a player who avoids PvP always has a hunt) and without lone bosses. Everyone on the same
8
+ * board tier gets the same creature; the tiers of a band can differ.
8
9
  * - The contract: the usual bounty, taken at the board; handed in during the week it was taken it pays a second Small
9
10
  * Satchel, once per character per week, and every kill toward it pays its Bounty Hunter XP twice.
10
11
  * - The Ledger: a page of lines, one for the first hunt handed in and one per band (types explorerLedger.ts, section 'weekly').
11
12
  *
12
13
  * Amounts are PLACEHOLDERS (balance is done last, with James).
13
14
  */
14
- import { BOUNTY_TIERS, isBossBountyTarget, isPvpBountyTarget, bountyTargetDisplayName } from './bounty.js';
15
+ import { BOUNTY_TIERS, bountyTargetDisplayName, bountyTierForCombat, isBossBountyTarget, isPvpBountyTarget } from './bounty.js';
15
16
  import { FIELD_GUIDE_BANDS, fieldGuideBandOf } from './fieldGuide.js';
16
17
  export const WEEK_MS = 7 * 24 * 60 * 60_000;
17
18
  /** 1970-01-05 00:00 UTC was a Monday: weeks count from there. */
@@ -35,43 +36,37 @@ function mix(week, salt) {
35
36
  seed = (Math.imul(seed ^ (seed >>> 13), 3266489917) + 668265263) >>> 0;
36
37
  return seed >>> 0;
37
38
  }
38
- /** The offers that can be a band's hunt: the board's own offers of tiers that start inside the band, minus PvP targets and lone bosses. */
39
- export function weeklyHuntCandidates(band) {
40
- const b = FIELD_GUIDE_BANDS.find((x) => x.id === band);
41
- const seen = new Set();
42
- const out = [];
43
- for (const tier of BOUNTY_TIERS) {
44
- if (tier.minCombat < b.min || tier.minCombat > b.max)
45
- continue;
46
- for (const o of tier.offers) {
47
- if (isPvpBountyTarget(o.target) || isBossBountyTarget(o.target) || seen.has(o.target))
48
- continue;
49
- seen.add(o.target);
50
- out.push(o);
51
- }
52
- }
53
- return out;
39
+ /**
40
+ * The offers that can be this week's hunt for a player at this Combat level: the offers on THEIR board (so the hunt is always
41
+ * a contract they can take at Bruce or any Bounty board, with the usual count), minus the Dreadwoods PvP targets and lone bosses.
42
+ */
43
+ export function weeklyHuntCandidates(combatLevel) {
44
+ return bountyTierForCombat(combatLevel).filter((o) => !isPvpBountyTarget(o.target) && !isBossBountyTarget(o.target));
45
+ }
46
+ /** The Combat level a board tier starts at for this level (a salt, so two tiers of one band do not move in lock step). */
47
+ function tierStart(combatLevel) {
48
+ let start = 1;
49
+ for (const tier of BOUNTY_TIERS)
50
+ if (Math.floor(combatLevel) >= tier.minCombat)
51
+ start = tier.minCombat;
52
+ return start;
54
53
  }
55
54
  /** The band a Combat level hunts in (1-10, 11-20, 21-30, 31-40; above 40 hunts with the top band, below 1 with the first). */
56
55
  export function weeklyHuntBand(combatLevel) {
57
56
  return fieldGuideBandOf(Math.min(40, Math.max(1, Math.floor(combatLevel)))) ?? '1-10';
58
57
  }
59
- /** This week's hunt for a band: null only if the band has no candidates (never, with the current tiers; a test pins it). */
60
- export function weeklyHuntForBand(band, week) {
61
- const candidates = weeklyHuntCandidates(band);
62
- if (candidates.length === 0)
63
- return null;
64
- const bandIndex = FIELD_GUIDE_BANDS.findIndex((x) => x.id === band);
65
- return candidates[mix(week, bandIndex) % candidates.length];
66
- }
67
- /** This week's hunt for a player at this Combat level. */
58
+ /**
59
+ * This week's hunt for a player at this Combat level: one creature per board tier per week, the same for everyone on that tier,
60
+ * never rolled. Null below Combat 1 (no board).
61
+ */
68
62
  export function weeklyHuntFor(combatLevel, week) {
69
- // Below Combat 1 the board offers nothing, so there is no hunt either.
70
63
  if (!(combatLevel >= 1))
71
64
  return null;
72
- const band = weeklyHuntBand(combatLevel);
73
- const offer = weeklyHuntForBand(band, week);
74
- return offer ? { ...offer, band } : null;
65
+ const candidates = weeklyHuntCandidates(combatLevel);
66
+ if (candidates.length === 0)
67
+ return null;
68
+ const offer = candidates[mix(week, tierStart(combatLevel)) % candidates.length];
69
+ return { ...offer, band: weeklyHuntBand(combatLevel) };
75
70
  }
76
71
  export function weeklyHuntView(combatLevel, week, claimedWeek) {
77
72
  const hunt = weeklyHuntFor(combatLevel, week);
@@ -1 +1 @@
1
- {"version":3,"file":"weeklyHunt.js","sourceRoot":"","sources":["../src/weeklyHunt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,uBAAuB,EAAoB,MAAM,aAAa,CAAC;AAC7H,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAyB,MAAM,iBAAiB,CAAC;AAE7F,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,MAAM,CAAC;AAC5C,iEAAiE;AACjE,MAAM,eAAe,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,MAAM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M,gBAAgB,GAAG,EAAE,CAAC;AAEnC,2DAA2D;AAC3D,MAAM,UAAU,eAAe,CAAC,IAAsB;IACpD,OAAO,CAAC,cAAc,EAAE,UAAU,IAAI,EAAE,CAAC,CAAC;AAC5C,CAAC;AAED,SAAS,IAAI,CAAC,EAAU;IACtB,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE,GAAG,MAAM,CAAC,CAAC,CAAC;IAC7C,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC;AAClD,CAAC;AAED,mGAAmG;AACnG,MAAM,UAAU,eAAe,CAAC,GAAW,EAAE,WAAmB,EAAE,WAAmB;IACnF,MAAM,IAAI,GAAG,SAAS,CAAC,GAAG,CAAC,CAAC;IAC5B,MAAM,IAAI,GAAG,aAAa,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;IAC9C,IAAI,CAAC,IAAI;QAAE,OAAO,EAAE,CAAC;IACrB,MAAM,IAAI,GAAG,uBAAuB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAClD,OAAO,WAAW,KAAK,IAAI;QACzB,CAAC,CAAC,qBAAqB,IAAI,CAAC,KAAK,IAAI,IAAI,gBAAgB;QACzD,CAAC,CAAC,uBAAuB,IAAI,CAAC,KAAK,IAAI,IAAI,sBAAsB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,4BAA4B,CAAC;AAC9H,CAAC"}
package/package.json CHANGED
@@ -1,43 +1,43 @@
1
- {
2
- "name": "@dreadwood-types/types",
3
- "version": "0.1.293",
4
- "description": "Public wire protocol and client-safe constants for Dreadwoods",
5
- "type": "module",
6
- "main": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.js",
12
- "default": "./dist/index.js"
13
- },
14
- "./legacy": {
15
- "types": "./dist/legacy.d.ts",
16
- "import": "./dist/legacy.js",
17
- "default": "./dist/legacy.js"
18
- }
19
- },
20
- "files": [
21
- "dist"
22
- ],
23
- "scripts": {
24
- "build": "tsc -p tsconfig.json",
25
- "test": "node --test scripts/animation-test.mjs scripts/starter-jobs-test.mjs scripts/cooking-nudge-test.mjs scripts/surface-chart-test.mjs scripts/south-expansion-test.mjs scripts/rudd-test.mjs scripts/cave-map-test.mjs scripts/birch-combat-test.mjs scripts/fort-rook-bosses-test.mjs scripts/bounty-first-test.mjs scripts/bounty-high-tiers-test.mjs scripts/running-test.mjs scripts/energy-test.mjs scripts/starter-town-test.mjs scripts/starter-expansion-test.mjs scripts/five-arches-test.mjs scripts/landing-test.mjs scripts/cove-ship-test.mjs scripts/south-fields-quests-test.mjs scripts/south-fields-errands-test.mjs scripts/arcane-lands-test.mjs scripts/fair-folk-test.mjs scripts/fair-contests-test.mjs scripts/missing-shipment-test.mjs scripts/world-boss-ring-test.mjs scripts/ringstone-fight-test.mjs scripts/highstone-test.mjs scripts/fenstone-test.mjs scripts/lair-awakening-test.mjs scripts/hopewood-wildlife-test.mjs scripts/hollin-wildlife-test.mjs scripts/hopewood-quests-test.mjs scripts/western-train-test.mjs scripts/moving-train-test.mjs scripts/train-circuit-test.mjs scripts/forge-halt-test.mjs scripts/forge-polish-test.mjs scripts/western-station-test.mjs scripts/hollin-quests-test.mjs scripts/western-lost-supplies-test.mjs scripts/western-herbal-remedies-test.mjs scripts/western-field-shrine-test.mjs scripts/western-kingdoms-test.mjs scripts/lantern-wake-test.mjs scripts/brindlecross-test.mjs scripts/brindlecross-quest-test.mjs scripts/greenwood-wilds-test.mjs scripts/greenwood-wildlife-test.mjs scripts/greenwood-quest-test.mjs scripts/dwarf-road-wildlife-test.mjs scripts/dwarf-road-test.mjs scripts/riversend-test.mjs scripts/riversend-content-test.mjs scripts/gatewarden-rounds-test.mjs scripts/boss-e8-test.mjs scripts/lantern-wake-town-test.mjs scripts/world-regions-test.mjs scripts/copse-wildlife-test.mjs scripts/copse-quests-test.mjs scripts/marches-wildlife-test.mjs scripts/marches-quests-test.mjs scripts/train-seats-test.mjs scripts/lantern-wake-gallery-test.mjs scripts/lantern-wake-wildlife-test.mjs scripts/lantern-wake-quest-test.mjs scripts/dwarf-hold-test.mjs scripts/western-line-texts-test.mjs scripts/xp-test.mjs scripts/bank-test.mjs scripts/timed-access-test.mjs scripts/ground-items-test.mjs scripts/name-filter-test.mjs scripts/woodwork-logs-test.mjs scripts/area-gates-test.mjs scripts/arcane-realms-test.mjs scripts/frozen-dungeons-test.mjs scripts/long-winter-test.mjs scripts/roster-delta-test.mjs scripts/bow-ladder-test.mjs scripts/lantern-wake-ledge-test.mjs scripts/explorer-ledger-test.mjs scripts/ore-smithing-test.mjs scripts/red-waste-test.mjs scripts/red-waste-folk-test.mjs scripts/daily-hooks-test.mjs scripts/sparring-yard-test.mjs scripts/t16-siege-floe-beach-test.mjs scripts/mammoth-road-test.mjs scripts/mammoth-road-test.mjs scripts/gulls-map-test.mjs scripts/gulls-rook-test.mjs scripts/ride-the-line-test.mjs scripts/gallowmere-test.mjs scripts/gallowmere-content-test.mjs scripts/fishing-derby-test.mjs scripts/sled-run-test.mjs scripts/eastern-marches-a-test.mjs scripts/windward-chalkshell-test.mjs scripts/gullhook-head-test.mjs scripts/webfen-test.mjs scripts/safe-pockets-test.mjs scripts/gallowmere-extras-test.mjs scripts/t53-high-ledge-skill-quests-test.mjs scripts/camp-traders-recommended-test.mjs scripts/west-coast-test.mjs scripts/heartwood-hunt-test.mjs scripts/calverton-extension-test.mjs scripts/gravewatch-test.mjs scripts/tide-of-blood-test.mjs scripts/north-wilds-test.mjs scripts/toll-road-test.mjs scripts/capital-quests-test.mjs scripts/capital-shops-test.mjs scripts/lean-wanted-test.mjs scripts/delvers-ladder-test.mjs scripts/last-signal-test.mjs scripts/sea-salt-test.mjs scripts/dwarf-hold-hub-test.mjs scripts/field-guide-test.mjs scripts/titles-test.mjs scripts/dwarf-hold-hub-test.mjs scripts/voyages-test.mjs scripts/weekly-hunt-test.mjs",
26
- "dev": "tsc -p tsconfig.json --watch",
27
- "prepare": "npm run build",
28
- "prepublishOnly": "npm run build"
29
- },
30
- "devDependencies": {
31
- "typescript": "^5.9.2"
32
- },
33
- "repository": {
34
- "type": "git",
35
- "url": "https://github.com/JamesPhelps/dreadwoods-types.git"
36
- },
37
- "publishConfig": {
38
- "access": "public"
39
- },
40
- "engines": {
41
- "node": ">=22"
42
- }
43
- }
1
+ {
2
+ "name": "@dreadwood-types/types",
3
+ "version": "0.1.294",
4
+ "description": "Public wire protocol and client-safe constants for Dreadwoods",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js",
12
+ "default": "./dist/index.js"
13
+ },
14
+ "./legacy": {
15
+ "types": "./dist/legacy.d.ts",
16
+ "import": "./dist/legacy.js",
17
+ "default": "./dist/legacy.js"
18
+ }
19
+ },
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "scripts": {
24
+ "build": "tsc -p tsconfig.json",
25
+ "test": "node --test scripts/animation-test.mjs scripts/starter-jobs-test.mjs scripts/cooking-nudge-test.mjs scripts/surface-chart-test.mjs scripts/south-expansion-test.mjs scripts/rudd-test.mjs scripts/cave-map-test.mjs scripts/birch-combat-test.mjs scripts/fort-rook-bosses-test.mjs scripts/bounty-first-test.mjs scripts/bounty-high-tiers-test.mjs scripts/running-test.mjs scripts/energy-test.mjs scripts/starter-town-test.mjs scripts/starter-expansion-test.mjs scripts/five-arches-test.mjs scripts/landing-test.mjs scripts/cove-ship-test.mjs scripts/south-fields-quests-test.mjs scripts/south-fields-errands-test.mjs scripts/arcane-lands-test.mjs scripts/fair-folk-test.mjs scripts/fair-contests-test.mjs scripts/missing-shipment-test.mjs scripts/world-boss-ring-test.mjs scripts/ringstone-fight-test.mjs scripts/highstone-test.mjs scripts/fenstone-test.mjs scripts/lair-awakening-test.mjs scripts/hopewood-wildlife-test.mjs scripts/hollin-wildlife-test.mjs scripts/hopewood-quests-test.mjs scripts/western-train-test.mjs scripts/moving-train-test.mjs scripts/train-circuit-test.mjs scripts/forge-halt-test.mjs scripts/forge-polish-test.mjs scripts/western-station-test.mjs scripts/hollin-quests-test.mjs scripts/western-lost-supplies-test.mjs scripts/western-herbal-remedies-test.mjs scripts/western-field-shrine-test.mjs scripts/western-kingdoms-test.mjs scripts/lantern-wake-test.mjs scripts/brindlecross-test.mjs scripts/brindlecross-quest-test.mjs scripts/greenwood-wilds-test.mjs scripts/greenwood-wildlife-test.mjs scripts/greenwood-quest-test.mjs scripts/dwarf-road-wildlife-test.mjs scripts/dwarf-road-test.mjs scripts/riversend-test.mjs scripts/riversend-content-test.mjs scripts/gatewarden-rounds-test.mjs scripts/boss-e8-test.mjs scripts/lantern-wake-town-test.mjs scripts/world-regions-test.mjs scripts/copse-wildlife-test.mjs scripts/copse-quests-test.mjs scripts/marches-wildlife-test.mjs scripts/marches-quests-test.mjs scripts/train-seats-test.mjs scripts/lantern-wake-gallery-test.mjs scripts/lantern-wake-wildlife-test.mjs scripts/lantern-wake-quest-test.mjs scripts/dwarf-hold-test.mjs scripts/western-line-texts-test.mjs scripts/xp-test.mjs scripts/bank-test.mjs scripts/timed-access-test.mjs scripts/ground-items-test.mjs scripts/name-filter-test.mjs scripts/woodwork-logs-test.mjs scripts/area-gates-test.mjs scripts/arcane-realms-test.mjs scripts/frozen-dungeons-test.mjs scripts/long-winter-test.mjs scripts/roster-delta-test.mjs scripts/bow-ladder-test.mjs scripts/lantern-wake-ledge-test.mjs scripts/explorer-ledger-test.mjs scripts/ore-smithing-test.mjs scripts/red-waste-test.mjs scripts/red-waste-folk-test.mjs scripts/daily-hooks-test.mjs scripts/sparring-yard-test.mjs scripts/t16-siege-floe-beach-test.mjs scripts/mammoth-road-test.mjs scripts/mammoth-road-test.mjs scripts/gulls-map-test.mjs scripts/gulls-rook-test.mjs scripts/ride-the-line-test.mjs scripts/gallowmere-test.mjs scripts/gallowmere-content-test.mjs scripts/fishing-derby-test.mjs scripts/sled-run-test.mjs scripts/eastern-marches-a-test.mjs scripts/windward-chalkshell-test.mjs scripts/gullhook-head-test.mjs scripts/webfen-test.mjs scripts/safe-pockets-test.mjs scripts/gallowmere-extras-test.mjs scripts/t53-high-ledge-skill-quests-test.mjs scripts/camp-traders-recommended-test.mjs scripts/west-coast-test.mjs scripts/heartwood-hunt-test.mjs scripts/calverton-extension-test.mjs scripts/gravewatch-test.mjs scripts/tide-of-blood-test.mjs scripts/north-wilds-test.mjs scripts/toll-road-test.mjs scripts/capital-quests-test.mjs scripts/capital-shops-test.mjs scripts/lean-wanted-test.mjs scripts/delvers-ladder-test.mjs scripts/last-signal-test.mjs scripts/sea-salt-test.mjs scripts/dwarf-hold-hub-test.mjs scripts/field-guide-test.mjs scripts/titles-test.mjs scripts/dwarf-hold-hub-test.mjs scripts/voyages-test.mjs scripts/weekly-hunt-test.mjs",
26
+ "dev": "tsc -p tsconfig.json --watch",
27
+ "prepare": "npm run build",
28
+ "prepublishOnly": "npm run build"
29
+ },
30
+ "devDependencies": {
31
+ "typescript": "^5.9.2"
32
+ },
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "https://github.com/JamesPhelps/dreadwoods-types.git"
36
+ },
37
+ "publishConfig": {
38
+ "access": "public"
39
+ },
40
+ "engines": {
41
+ "node": ">=22"
42
+ }
43
+ }