includes
1 month ago
LICENSE.md
1 month ago
README.md
1 month ago
composer.json
1 month ago
composer.lock
1 month ago
mcp-adapter.php
1 month ago
package-lock.json
1 month ago
package.json
1 month ago
package.json
38 lines
| 1 | { |
| 2 | "name": "mcp-adapter", |
| 3 | "type": "module", |
| 4 | "private": true, |
| 5 | "repository": { |
| 6 | "type": "git", |
| 7 | "url": "git+https://github.com/WordPress/mcp-adapter.git" |
| 8 | }, |
| 9 | "engines": { |
| 10 | "node": ">=20.10.0", |
| 11 | "npm": ">=10.2.3" |
| 12 | }, |
| 13 | "devDependencies": { |
| 14 | "@wordpress/env": "^10.29.0", |
| 15 | "@wordpress/scripts": "^30.22.0", |
| 16 | "@wordpress/prettier-config": "^4.29.0" |
| 17 | }, |
| 18 | "files": [ |
| 19 | "includes", |
| 20 | "vendor", |
| 21 | "LICENSE", |
| 22 | "CHANGELOG.md", |
| 23 | "README.md", |
| 24 | "readme.txt", |
| 25 | "mcp-adapter.php" |
| 26 | ], |
| 27 | "scripts": { |
| 28 | "build": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename \"$(pwd)\")/ composer install --no-dev --optimize-autoloader", |
| 29 | "plugin-zip": "wp-scripts plugin-zip", |
| 30 | "format": "wp-scripts format", |
| 31 | "lint:php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename \"$(pwd)\")/ composer run-script lint:php", |
| 32 | "lint:php:fix": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename \"$(pwd)\")/ composer run-script lint:php:fix", |
| 33 | "lint:php:stan": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename \"$(pwd)\")/ composer run-script lint:php:stan", |
| 34 | "test:php": "wp-env run tests-cli --env-cwd=wp-content/plugins/$(basename \"$(pwd)\")/ vendor/bin/phpunit -c phpunit.xml.dist", |
| 35 | "wp-env": "wp-env" |
| 36 | } |
| 37 | } |
| 38 |