{
    "name": "bcodecraft/bcodecraft-submissions-cf7",
    "description": "WordPress plugin to automatically store Contact Form 7 submissions",
    "type": "wordpress-plugin",
    "license": "GPL-2.0-or-later",
    "authors": [
        {
            "name": "bcodecraft",
            "role": "Developer"
        }
    ],
    "require": {
        "php": ">=8.0"
    },
    "require-dev": {
        "squizlabs/php_codesniffer": "^3.7",
        "wp-coding-standards/wpcs": "^3.0",
        "phpcompatibility/phpcompatibility-wp": "^2.1",
        "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
        "phpunit/phpunit": "^9.6",
        "yoast/phpunit-polyfills": "^2.0",
        "brain/monkey": "^2.6",
        "mockery/mockery": "^1.6",
        "phpstan/phpstan": "^1.10"
    },
    "autoload": {
        "psr-4": {
            "FormSentry\\": "includes/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "FormSentry\\Tests\\": "tests/php/"
        }
    },
    "scripts": {
        "phpcs": "phpcs --standard=phpcs.xml .",
        "phpcbf": "phpcbf --standard=phpcs.xml .",
        "phpunit": "phpunit --configuration=phpunit.xml",
        "phpunit:coverage": "phpunit --configuration=phpunit.xml --coverage-html=coverage/php",
        "phpunit:coverage-text": "phpunit --configuration=phpunit.xml --coverage-text",
        "psalm": "psalm --config=psalm.xml",
        "phpstan": "phpstan analyse --configuration=phpstan.neon",
        "security": "psalm --config=psalm.xml --security-analysis",
        "audit": "composer audit",
        "test": "composer run-script phpunit",
        "lint": "composer run-script phpcs",
        "fix": "composer run-script phpcbf",
        "analyze": "composer run-script psalm && composer run-script phpstan",
        "quality": "composer run-script lint && composer run-script analyze && composer run-script security",
        "install-tools": "composer install --dev --optimize-autoloader"
    },
    "scripts-descriptions": {
        "phpcs": "Run PHP CodeSniffer to check coding standards",
        "phpcbf": "Run PHP Code Beautifier to fix coding standards issues",
        "phpunit": "Run PHPUnit tests",
        "psalm": "Run Psalm static analysis",
        "phpstan": "Run PHPStan static analysis",
        "security": "Run security analysis with Psalm",
        "quality": "Run all quality checks (lint, analyze, security)"
    },
    "config": {
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        },
        "optimize-autoloader": true,
        "sort-packages": true
    },
    "minimum-stability": "stable",
    "prefer-stable": true,
    "archive": {
        "exclude": [
            "/tests",
            "/coverage",
            "/.github",
            "/.gitignore",
            "/phpunit.xml",
            "/phpcs.xml",
            "/psalm.xml",
            "/phpstan.neon",
            "/composer.json",
            "/composer.lock",
            "/package.json",
            "/package-lock.json",
            "/webpack.config.js",
            "/node_modules",
            "/assets/src",
            "/.wp-env.json",
            "/DEVELOPMENT-TASKS.md",
            "/CLAUDE.md",
            "/.claude"
        ]
    },
    "support": {
        "issues": "https://wordpress.org/support/plugin/bcodecraft-submissions-cf7/"
    }
}
