{
    "name": "404ops/404ops-activity-log",
    "description": "WordPress activity log for security-relevant events, retention, CSV export, and daily email digests",
    "type": "wordpress-plugin",
    "license": "GPL-2.0-or-later",
    "repositories": [
        {
            "type": "vcs",
            "url": "https://gitlab.404ops.com/wp-plugins/ui-kit.git"
        }
    ],
    "require": {
        "404ops/ui-kit": "^0.6.1",
        "php": ">=8.0"
    },
    "require-dev": {
        "squizlabs/php_codesniffer": "^3.9",
        "wp-coding-standards/wpcs": "^3.1",
        "phpcompatibility/phpcompatibility-wp": "^2.1",
        "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
        "phpstan/phpstan": "^2.1",
        "szepeviktor/phpstan-wordpress": "^2.0",
        "phpstan/extension-installer": "^1.3",
        "phpunit/phpunit": "^9.6",
        "yoast/phpunit-polyfills": "^2.0",
        "brain/monkey": "^2.6",
        "wp-phpunit/wp-phpunit": "7.1.1",
        "php-stubs/wordpress-stubs": "^6.5",
        "php-stubs/wp-cli-stubs": "^2.10"
    },
    "autoload": {
        "psr-4": {
            "ActivityLog404\\": "src/"
        },
        "classmap": [
            "vendor-prefixed/"
        ]
    },
    "config": {
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "phpstan/extension-installer": true
        },
        "platform": {
            "php": "8.0"
        },
        "autoloader-suffix": "ops404_activity_log",
        "platform-check": false
    },
    "scripts": {
        "lint": "phpcs && phpcs --standard=phpcs.pro.xml.dist",
        "lint:fix": "phpcbf",
        "stan": "phpstan analyse --memory-limit=1G",
        "test:unit": "phpunit --testsuite unit",
        "test:integration": "phpunit --bootstrap tests/bootstrap-integration.php --testsuite integration --exclude-group pro-addon",
        "test:integration:pro": "OPS404_LOAD_PRO=1 phpunit --bootstrap tests/bootstrap-integration.php --testsuite integration --group pro-addon",
        "post-install-cmd": "@install-pro-vendor",
        "post-update-cmd": "@install-pro-vendor",
        "install-pro-vendor": "if [ -f pro/composer.json ]; then cd pro && composer install --no-interaction --no-progress; fi",
        "prefix-namespaces": "bash bin/strauss.sh"
    },
    "extra": {
        "strauss": {
            "target_directory": "vendor-prefixed",
            "namespace_prefix": "Ops404\\ActivityLog\\Vendor\\",
            "classmap_prefix": "Ops404_ActivityLog_Vendor_",
            "constant_prefix": "OPS404_ACTIVITY_LOG_VENDOR_",
            "classmap_output": false,
            "packages": [
                "404ops/ui-kit"
            ],
            "exclude_from_copy": {
                "file_patterns": [
                    "~404ops/ui-kit/(?!src/|assets/|LICENSE$)~"
                ]
            },
            "delete_vendor_packages": false,
            "include_modified_date": false,
            "include_author": false
        }
    }
}
