familiar-vtt 2.5.16
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.
- package/LICENSE +8 -0
- package/README.md +265 -0
- package/dist/mcp-package/index.mjs +99 -0
- package/package.json +133 -0
package/package.json
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "familiar-vtt",
|
|
3
|
+
"version": "2.5.16",
|
|
4
|
+
"description": "Your AI familiar for Foundry VTT. 176 tools across 24 domains — characters, scenes, combat, canvas, audio, macros, and more.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=20"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist/mcp-package/index.mjs",
|
|
11
|
+
"LICENSE",
|
|
12
|
+
"README.md"
|
|
13
|
+
],
|
|
14
|
+
"bin": {
|
|
15
|
+
"familiar-vtt": "dist/mcp-package/index.mjs"
|
|
16
|
+
},
|
|
17
|
+
"exports": {
|
|
18
|
+
".": "./dist/mcp-package/index.mjs"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"prebuild": "node -e \"const fs=require('fs'),p='dist/module';if(fs.existsSync(p))for(const f of fs.readdirSync(p))fs.unlinkSync(require('path').join(p,f))\"",
|
|
22
|
+
"build": "npm run build:server && npm run build:schemas && npm run build:module",
|
|
23
|
+
"build:server": "tsc -p tsconfig.server.json",
|
|
24
|
+
"build:schemas": "tsx scripts/generate-tool-schemas.ts",
|
|
25
|
+
"build:module": "esbuild src/module/main.ts --bundle --format=esm --outfile=dist/module/main.js --platform=browser --target=es2022 --loader:.css=text --minify",
|
|
26
|
+
"build:npm": "npm run build:mcp-package",
|
|
27
|
+
"build:mcp-package": "esbuild src/server/index.ts --bundle --platform=node --format=esm --outfile=dist/mcp-package/index.mjs --external:bufferutil --external:utf-8-validate --minify --banner:js=\"#!/usr/bin/env node\" --define:__NPM_BUNDLE__=true",
|
|
28
|
+
"prepublishOnly": "npm run build:mcp-package",
|
|
29
|
+
"deploy": "npm run build && node scripts/deploy.js",
|
|
30
|
+
"dev": "tsx watch src/server/index.ts",
|
|
31
|
+
"inspect": "npx @modelcontextprotocol/inspector tsx src/server/index.ts",
|
|
32
|
+
"lint": "eslint . && stylelint \"src/**/*.css\"",
|
|
33
|
+
"lint:fix": "eslint . --fix && stylelint \"src/**/*.css\" --fix",
|
|
34
|
+
"lint:css": "stylelint \"src/**/*.css\"",
|
|
35
|
+
"lint:css:fix": "stylelint \"src/**/*.css\" --fix",
|
|
36
|
+
"format": "prettier --write .",
|
|
37
|
+
"format:check": "prettier --check .",
|
|
38
|
+
"typecheck": "tsc --noEmit -p tsconfig.server.json && tsc --noEmit -p tsconfig.module.json",
|
|
39
|
+
"scan": "semgrep scan --config .semgrep.yml --config p/owasp-top-ten --config p/nodejs src/",
|
|
40
|
+
"knip": "knip --include nsExports,nsTypes --treat-config-hints-as-errors",
|
|
41
|
+
"license-check": "sh scripts/license-check.sh",
|
|
42
|
+
"css-guard": "sh scripts/css-guard.sh",
|
|
43
|
+
"ts-guard": "sh scripts/ts-guard.sh",
|
|
44
|
+
"lockfile-lint": "lockfile-lint --path package-lock.json --type npm --allowed-hosts npm --validate-https --validate-package-names --validate-integrity",
|
|
45
|
+
"prepare": "husky"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@commitlint/cli": "^20.4.1",
|
|
49
|
+
"@commitlint/config-conventional": "^20.4.1",
|
|
50
|
+
"@double-great/stylelint-a11y": "^3.4.7",
|
|
51
|
+
"@modelcontextprotocol/sdk": "1.27.1",
|
|
52
|
+
"@orama/orama": "^3.1.18",
|
|
53
|
+
"@types/node": "^22.15.0",
|
|
54
|
+
"@types/ws": "^8.18.0",
|
|
55
|
+
"esbuild": "^0.27.4",
|
|
56
|
+
"eslint": "^10.0.3",
|
|
57
|
+
"eslint-config-prettier": "^10.1.8",
|
|
58
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
59
|
+
"eslint-plugin-depend": "^1.4.0",
|
|
60
|
+
"eslint-plugin-import-x": "^4.16.2",
|
|
61
|
+
"eslint-plugin-n": "^17.24.0",
|
|
62
|
+
"eslint-plugin-no-secrets": "^2.2.2",
|
|
63
|
+
"eslint-plugin-no-unsanitized": "^4.1.5",
|
|
64
|
+
"eslint-plugin-promise": "^7.2.1",
|
|
65
|
+
"eslint-plugin-regexp": "^3.0.0",
|
|
66
|
+
"eslint-plugin-security": "^4.0.0",
|
|
67
|
+
"eslint-plugin-sonarjs": "^4.0.2",
|
|
68
|
+
"eslint-plugin-unicorn": "^63.0.0",
|
|
69
|
+
"husky": "^9.1.7",
|
|
70
|
+
"jiti": "^2.6.1",
|
|
71
|
+
"knip": "^6.0.4",
|
|
72
|
+
"lint-staged": "^16.2.7",
|
|
73
|
+
"lockfile-lint": "^5.0.0",
|
|
74
|
+
"pino": "10.3.1",
|
|
75
|
+
"prettier": "^3.5.0",
|
|
76
|
+
"stylelint": "^17.4.0",
|
|
77
|
+
"stylelint-config-clean-order": "^8.0.1",
|
|
78
|
+
"stylelint-config-standard": "^40.0.0",
|
|
79
|
+
"stylelint-declaration-block-no-ignored-properties": "^3.0.0",
|
|
80
|
+
"stylelint-declaration-strict-value": "^1.11.1",
|
|
81
|
+
"stylelint-high-performance-animation": "^2.0.0",
|
|
82
|
+
"stylelint-order": "^8.1.1",
|
|
83
|
+
"stylelint-plugin-defensive-css": "^2.8.0",
|
|
84
|
+
"stylelint-plugin-use-baseline": "^1.4.1",
|
|
85
|
+
"tsx": "^4.19.0",
|
|
86
|
+
"typescript": "^5.9.3",
|
|
87
|
+
"typescript-eslint": "^8.57.1",
|
|
88
|
+
"ws": "8.20.0",
|
|
89
|
+
"zod": "4.3.6"
|
|
90
|
+
},
|
|
91
|
+
"author": "Ryan Jansen",
|
|
92
|
+
"repository": {
|
|
93
|
+
"type": "git",
|
|
94
|
+
"url": "git+https://github.com/Ryanjansen92/familiar-releases.git"
|
|
95
|
+
},
|
|
96
|
+
"homepage": "https://github.com/Ryanjansen92/familiar-releases#readme",
|
|
97
|
+
"bugs": {
|
|
98
|
+
"url": "https://github.com/Ryanjansen92/familiar-releases/issues"
|
|
99
|
+
},
|
|
100
|
+
"keywords": [
|
|
101
|
+
"foundry-vtt",
|
|
102
|
+
"familiar",
|
|
103
|
+
"mcp",
|
|
104
|
+
"model-context-protocol",
|
|
105
|
+
"dnd",
|
|
106
|
+
"dungeons-and-dragons",
|
|
107
|
+
"tabletop",
|
|
108
|
+
"rpg",
|
|
109
|
+
"ttrpg",
|
|
110
|
+
"virtual-tabletop",
|
|
111
|
+
"ai",
|
|
112
|
+
"claude",
|
|
113
|
+
"game-master",
|
|
114
|
+
"dm-tools"
|
|
115
|
+
],
|
|
116
|
+
"lint-staged": {
|
|
117
|
+
"*.ts": [
|
|
118
|
+
"eslint --fix --no-warn-ignored",
|
|
119
|
+
"prettier --write"
|
|
120
|
+
],
|
|
121
|
+
"*.css": [
|
|
122
|
+
"stylelint --fix",
|
|
123
|
+
"prettier --write"
|
|
124
|
+
],
|
|
125
|
+
"*.{json,yaml,yml}": "prettier --write"
|
|
126
|
+
},
|
|
127
|
+
"overrides": {
|
|
128
|
+
"eslint-plugin-promise": {
|
|
129
|
+
"eslint": "$eslint"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"license": "SEE LICENSE IN LICENSE"
|
|
133
|
+
}
|