{
    "name": "kishanjasani/coreline",
    "description": "Essential hardening and cleanup for every WordPress site",
    "type": "wordpress-plugin",
    "license": "GPL-2.0-or-later",
    "authors": [
        {
            "name": "Kishan Jasani",
            "email": "kishan@example.com"
        }
    ],
    "require": {
        "php": ">=7.4"
    },
    "require-dev": {
        "phpunit/phpunit": "^9.5",
        "squizlabs/php_codesniffer": "^3.7",
        "wp-coding-standards/wpcs": "^3.0",
        "automattic/vipwpcs": "^3.0",
        "phpcompatibility/phpcompatibility-wp": "^2.1",
        "phpstan/phpstan": "^1.10",
        "szepeviktor/phpstan-wordpress": "^1.3",
        "dealerdirect/phpcodesniffer-composer-installer": "^1.0"
    },
    "autoload": {
        "psr-4": {
            "Coreline\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Coreline\\Tests\\": "tests/"
        }
    },
    "scripts": {
        "test": "phpunit",
        "phpcs": "phpcs 2>&1 | grep -v 'DEPRECATED' | grep -v 'listening for JS'",
        "phpcs:fix": "phpcbf 2>&1 | grep -v 'DEPRECATED' | grep -v 'listening for JS'",
        "phpstan": "phpstan analyse --memory-limit=1G",
        "lint": [
            "@phpcs",
            "@phpstan"
        ],
        "lint:fix": "@phpcs:fix"
    },
    "config": {
        "optimize-autoloader": true,
        "sort-packages": true,
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        }
    }
}
