package.json•2.16 kB
{
"name": "foundry-mcp-server",
"version": "0.11.0",
"description": "Model Context Protocol server for FoundryVTT integration",
"main": "dist/index.js",
"type": "module",
"scripts": {
"build": "tsc",
"dev": "tsx watch src/index.ts",
"start": "node dist/index.js",
"test": "vitest run",
"test:watch": "vitest --watch",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:headed": "playwright test --headed",
"test:e2e:debug": "playwright test --debug",
"test:e2e:report": "playwright show-report",
"test:integration": "vitest run --config vitest.integration.config.ts",
"test:integration:watch": "vitest --watch --config vitest.integration.config.ts",
"test:integration:ui": "vitest --ui --config vitest.integration.config.ts",
"test:integration:docker": "docker-compose -f docker-compose.test.yml up -d && npm run test:integration && docker-compose -f docker-compose.test.yml down",
"test-connection": "tsx scripts/test-connection.ts",
"setup-wizard": "tsx scripts/setup-wizard.ts",
"lint": "eslint src --ext .ts",
"clean": "rimraf dist",
"docs": "typedoc src/index.ts --out docs --exclude '**/*.test.ts'",
"docs:serve": "npm run docs && npx http-server docs",
"setup": "npm run clean && npm run build && npm run test-connection"
},
"keywords": [
"foundry",
"vtt",
"mcp",
"ai",
"tabletop",
"rpg"
],
"author": "Your Name",
"license": "MIT",
"dependencies": {
"@modelcontextprotocol/sdk": "^0.5.0",
"ajv": "^8.17.1",
"axios": "^1.6.2",
"dotenv": "^16.3.1",
"ws": "^8.14.2",
"zod": "^3.22.4"
},
"devDependencies": {
"@playwright/test": "^1.54.1",
"@types/node": "^20.10.0",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.54.0",
"rimraf": "^5.0.5",
"tsx": "^4.6.0",
"typedoc": "^0.28.5",
"typescript": "^5.3.2",
"vitest": "^1.0.0"
},
"engines": {
"node": ">=18.0.0"
}
}