{
    "name": "watchthedot/visit-notifications",
    "description": "",
    "type": "wordpress-plugin",
    "repositories":[
        {
            "type":"composer",
            "url":"https://wpackagist.org",
            "only": [
                "wpackagist-plugin/*",
                "wpackagist-theme/*"
            ]
        }
    ],
    "require": {
        "php": ">=7.4",
        "wpdesk/wp-notice": "^3.1",
        "stoutlogic/acf-builder": "^1.12",
        "symfony/polyfill-php80": "^1.25",
        "symfony/polyfill-php81": "^1.25",
        "wpackagist-plugin/advanced-custom-fields": "^5.12"
    },
    "require-dev": {
        "php-stubs/wordpress-stubs": "^5.9",
        "php-stubs/wordpress-globals": "^0.2.0",

        "phpstan/phpstan": "^1.8",
        "phpstan/extension-installer": "^1.1",
        "szepeviktor/phpstan-wordpress": "^1.1",

        "squizlabs/php_codesniffer": "^3.6",
        "dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
        "automattic/phpcs-neutron-ruleset": "^3.4"
    },
    "license": "GPLv2-or-later",
    "autoload": {
        "psr-4": {
            "WatchTheDot\\VisitNotifications\\": "src/"
        }
    },
    "authors": [
        {
            "name": "Dominic Carrington",
            "email": "dominic@watchthedot.com"
        }
    ],
    "config": {
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "phpstan/extension-installer": true,
            "composer/installers": true
        }
    },
    "scripts": {
        "test:sniff": "phpcs",
        "test:sniff:fix": "phpcbf",
        "test:static": "phpstan analyse --memory-limit=1G",
        "deploy:check:sanitize": "phpcs --standard=phpcs.deploy.xml",
        "deploy:check:syntax": "./vendor/bin/phpstan analyse --level=0 --memory-limit=1G --error-format=github"
    },
    "extra": {
        "installer-paths": {
            "lib/{$name}/": [
                "type:wordpress-plugin"
            ]
        }
    }
}
