-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
182 lines (182 loc) · 8.16 KB
/
package.json
File metadata and controls
182 lines (182 loc) · 8.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{
"name": "mcp-wordpress",
"version": "3.1.22",
"description": "Comprehensive Model Context Protocol server for WordPress management with composition-based architecture, 59 tools, SEO toolkit, performance monitoring, intelligent caching, and production-ready authentication",
"keywords": [
"mcp",
"model-context-protocol",
"wordpress",
"cms",
"rest-api",
"ai",
"assistant"
],
"homepage": "https://github.com/docdyhr/mcp-wordpress#readme",
"bugs": {
"url": "https://github.com/docdyhr/mcp-wordpress/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/docdyhr/mcp-wordpress.git"
},
"license": "MIT",
"author": "Thomas Dyhr",
"type": "module",
"main": "dist/index.js",
"bin": {
"mcp-wordpress": "bin/mcp-wordpress.js",
"wordpress-setup": "bin/setup.js",
"wordpress-status": "bin/status.js"
},
"files": [
"dist/",
"src/",
"bin/",
"docs/",
"examples/",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc && tsc-alias",
"build:watch": "tsc --watch",
"check:ci": "npm run typecheck && npm run lint && npm run test:coverage",
"check:ignore": "node scripts/sync-ignore-files.js",
"dev": "npm run build && DEBUG=true node dist/index.js",
"docker:build": "docker build -t docdyhr/mcp-wordpress:latest .",
"docker:publish": "./scripts/manual-docker-publish.sh",
"docs:generate": "npm run build && node scripts/generate-docs.js",
"docs:serve": "npm run docs:generate && node scripts/serve-docs.js",
"docs:validate": "npm run docs:generate && node scripts/validate-docs.js",
"docs:watch": "npm run docs:generate && echo 'Watching for changes...' && npm run docs:serve",
"doctor:vscode": "npm run test:vscode && echo '\n🩺 VS Code health check complete'",
"dxt:clean": "rm -rf dxt-build mcp-wordpress.dxt minimal-dxt-build mcp-wordpress-minimal.dxt mcp-wordpress-official.dxt",
"dxt:package": "npm run dxt:clean && npm run dxt:build",
"dxt:package:official": "npm run build && node scripts/build-dxt-clean.cjs",
"eval": "npm run build && npx mcp-eval evaluations/config/wordpress-tools-eval.yaml dist/index.js",
"eval:report": "node evaluations/scripts/generate-report.js",
"fix:rest-auth": "bash scripts/fix-rest-api-auth.sh",
"format": "prettier --write *.md docs/**/*.md src/**/*.ts tests/**/*.ts",
"format:check": "prettier --check *.md docs/**/*.md src/**/*.ts tests/**/*.ts",
"health": "node scripts/health-check.js",
"lint": "eslint src/ tests/",
"lint:fix": "eslint src/ tests/ --fix",
"lint:md": "markdownlint *.md docs/**/*.md",
"lint:md:fix": "markdownlint *.md docs/**/*.md --fix",
"pre-commit": "lint-staged",
"prepare": "husky",
"prepublishOnly": "npm run build && npm run check:ignore",
"release": "semantic-release",
"release:dry": "semantic-release --dry-run",
"security:audit": "npm audit --production",
"security:fix": "npm audit fix",
"security:full": "npm run security:scan && npm run security:review && npm run security:monitor && npm run test:security",
"security:monitor": "npm audit --audit-level=moderate || echo 'Security monitoring completed'",
"security:review": "npm run test:security || echo 'Security review completed'",
"security:scan": "npm run build && node scripts/security-demo.js || npm audit --audit-level=low",
"setup": "node bin/setup.js",
"setup:vscode": "code --install-extension bradlc.vscode-tailwindcss && code --install-extension continue.continue && code --install-extension ms-python.python && code --install-extension ms-vscode.hexeditor",
"start": "npm run build && node dist/index.js",
"status": "node bin/status.js",
"test": "npm run test:batch",
"test:auth": "node scripts/test-auth.js",
"test:batch": "npm run test:batch:1 && npm run test:batch:2 && npm run test:batch:3 && npm run test:batch:4",
"test:batch:1": "npm run build && NODE_OPTIONS=\"--max-old-space-size=8192\" vitest run tests/security/ tests/cache/ tests/server/ --no-coverage --reporter=default",
"test:batch:2": "npm run build && NODE_OPTIONS=\"--max-old-space-size=8192\" vitest run tests/client/ tests/config/ tests/utils/ --no-coverage --reporter=default",
"test:batch:3": "npm run build && NODE_OPTIONS=\"--max-old-space-size=8192\" vitest run tests/tools/ tests/performance/ --no-coverage --reporter=default",
"test:batch:4": "npm run build && NODE_OPTIONS=\"--max-old-space-size=8192\" vitest run tests/*.test.js tests/docs/ --no-coverage --reporter=default",
"test:cache": "npm run build && vitest run tests/cache/",
"test:ci": "npm run build && CI=true NODE_OPTIONS=\"--max-old-space-size=8192\" vitest run --reporter=default",
"test:ci:safe": "NODE_OPTIONS=\"--max-old-space-size=8192\" npx vitest run --config vitest.ci.config.ts",
"test:compatibility": "npm run build && vitest run tests/compatibility/ || echo 'No compatibility tests found'",
"test:config": "npm run build && vitest run tests/config/",
"test:coverage": "npm run build && NODE_OPTIONS=\"--max-old-space-size=8192\" vitest run --coverage",
"test:coverage:report": "npm run test:coverage && node scripts/coverage-guardrail.js",
"test:memory-config": "npm run build && NODE_OPTIONS=\"--max-old-space-size=6144\" vitest run --config vitest.memory-safe.config.ts",
"test:memory-safe": "npm run build && NODE_OPTIONS=\"--max-old-space-size=6144 --max-semi-space-size=256\" vitest run --no-coverage --reporter=default",
"test:performance": "npm run build && vitest run tests/performance/",
"test:performance:ci": "npm run build && mkdir -p tests/results && NODE_OPTIONS=\"--max-old-space-size=4096\" vitest run tests/performance/ --reporter=json --outputFile=tests/results/performance-results.json",
"test:pre-push": "bash scripts/test-pre-push.sh",
"test:production-security": "npm audit --omit=dev",
"test:safe": "node scripts/run-tests-safe.cjs",
"test:security": "npm run build && vitest run tests/security/",
"test:security:validation": "npm run build && vitest run tests/security/penetration-tests.test.js",
"test:tools": "node scripts/test-all-tools-fixed.js",
"test:typescript": "npm run build && npm run typecheck",
"test:ui": "npm run build && vitest --ui",
"test:vscode": "npm run build && node dist/scripts/test-vscode-setup.js",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"verify-claude": "node scripts/verify-claude-integration.js"
},
"lint-staged": {
"*.{ts,js}": [
"eslint --fix",
"prettier --write"
],
"*.md": [
"markdownlint --fix"
],
"package.json": [
"sort-package-json"
]
},
"overrides": {
"@hono/node-server": "^1.19.13",
"@pact-foundation/pact-node": {
"@types/request": {
"form-data": "^4.0.3"
}
},
"brace-expansion": ">=5.0.5",
"flatted": ">=3.4.2",
"hono": ">=4.12.15",
"minimatch": "10.2.3",
"path-to-regexp": ">=8.4.0",
"tar": "7.5.11",
"underscore": "1.13.8"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.29.0",
"dotenv": "^17.3.1",
"form-data": "^4.0.5",
"zod": "^4.3.6"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@pact-foundation/pact": "^16.2.0",
"@pact-foundation/pact-node": "^10.18.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/node": "^25.3.3",
"@typescript-eslint/eslint-plugin": "^8.56.1",
"@typescript-eslint/parser": "^8.56.1",
"@vitest/coverage-v8": "^4.1.1",
"@vitest/ui": "^4.1.1",
"archiver": "^7.0.1",
"conventional-changelog-conventionalcommits": "^9.2.0",
"eslint": "^10.0.2",
"eslint-config-prettier": "^10.1.8",
"fast-check": "^4.5.3",
"fs-extra": "^11.3.3",
"husky": "^9.1.7",
"lint-staged": "^16.3.1",
"markdownlint-cli": "^0.48.0",
"nock": "^14.0.11",
"node-fetch": "^3.3.2",
"open": "^11.0.0",
"prettier": "^3.8.1",
"semantic-release": "^25.0.3",
"sort-package-json": "^3.6.1",
"tsc-alias": "^1.8.16",
"typescript": "^5.9.3",
"vite-tsconfig-paths": "^6.1.1",
"vitest": "^4.1.1"
},
"engines": {
"node": ">=20.8.1"
},
"publishConfig": {
"access": "public"
}
}