André Menrath
44daeb5b59
Adds the option to compose a custom summary via shortcodes. ToDo: - [x] Integretion-Tests (covering text-only and complex addresses) - [x] Remove duplicated code - [x] Evaluate move shortcodes to Base Event transformer - [x] Commennts - [x] Readability/Maintenability - [x] Explain shortcodes and usage in Admin UI Reviewed-on: #80 Co-authored-by: André Menrath <andre.menrath@posteo.de> Co-committed-by: André Menrath <andre.menrath@posteo.de>
77 lines
2.7 KiB
JSON
77 lines
2.7 KiB
JSON
{
|
|
"name": "menrath/wordpress-event-bridge-for-activitypub",
|
|
"version": "1.0.0",
|
|
"description": "The Event Bridge for ActivityPub help for event custom post types to federate properly.",
|
|
"type": "wordpress-plugin",
|
|
"require": {
|
|
"php": ">=7.4.0",
|
|
"composer/installers": "^2.0"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^5.7.21 || ^6.5 || ^7.5 || ^8",
|
|
"phpcompatibility/php-compatibility": "*",
|
|
"phpcompatibility/phpcompatibility-wp": "*",
|
|
"squizlabs/php_codesniffer": "3.*",
|
|
"wp-coding-standards/wpcs": "dev-develop",
|
|
"yoast/phpunit-polyfills": "^3.0",
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
|
|
"sirbrillig/phpcs-variable-analysis": "^2.11",
|
|
"phpcsstandards/phpcsextra": "^1.1.0",
|
|
"dms/phpunit-arraysubset-asserts": "^0.5.0"
|
|
},
|
|
"config": {
|
|
"allow-plugins": true
|
|
},
|
|
"allow-plugins": {
|
|
"composer/installers": true
|
|
},
|
|
"license": "AGPL",
|
|
"authors": [
|
|
{
|
|
"name": "André Menrath",
|
|
"email": "andre.menrath@event-federation.eu"
|
|
}
|
|
],
|
|
"extra": {
|
|
"installer-name": "event-bridge-for-activitypub"
|
|
},
|
|
"scripts": {
|
|
"lint": [
|
|
"vendor/bin/phpcs"
|
|
],
|
|
"lint:fix": [
|
|
"vendor/bin/phpcbf"
|
|
],
|
|
"prepare-test": [
|
|
"composer install",
|
|
"bin/install-wp-tests.sh wordpress-test root wordpress-test test-db latest true"
|
|
],
|
|
"test": [
|
|
"@prepare-test",
|
|
"@test-vs-event-list",
|
|
"@test-the-events-calendar",
|
|
"@test-gatherpress",
|
|
"@test-events-manager",
|
|
"@test-wp-event-manager",
|
|
"@test-eventin",
|
|
"@test-modern-events-calendar-lite",
|
|
"@test-eventprime",
|
|
"@test-event-organiser"
|
|
],
|
|
"test-debug": [
|
|
"@prepare-test",
|
|
"@test-event-bridge-for-activitypub-shortcodes"
|
|
],
|
|
"test-vs-event-list": "phpunit --filter=vs_event_list",
|
|
"test-the-events-calendar": "phpunit --filter=the_events_calendar",
|
|
"test-gatherpress": "phpunit --filter=gatherpress",
|
|
"test-events-manager": "phpunit --filter=events_manager",
|
|
"test-wp-event-manager": "phpunit --filter=wp_event_manager",
|
|
"test-eventin": "phpunit --filter=eventin",
|
|
"test-modern-events-calendar-lite": "phpunit --filter=modern_events_calendar_lite",
|
|
"test-eventprime": "phpunit --filter=eventprime",
|
|
"test-event-organiser": "phpunit --filter=event_organiser",
|
|
"test-event-bridge-for-activitypub-shortcodes": "phpunit --filter=event_bridge_for_activitypub_shortcodes",
|
|
"test-all": "phpunit"
|
|
}
|
|
}
|