{
    "require": {
        "edsdk/flmngr-server-php": "^1.6.7"
    },
    "scripts": {
        "update-hooks": "cghooks update",
        "updateRanking": "php src/cli.php ranking generateAll",
        "test": "composer run test-emulator && composer run test-emulator-paradise && composer run test-stream && composer run test-trinity-stream",
        "test-web": "phpunit --testdox --bootstrap ./tests/auto/integration-web/bootstrap.php tests/auto/integration-web --debug",
        "test-web-routes": "phpunit --testdox --bootstrap ./tests/auto/integration-web/bootstrap.php ./tests/auto/integration-web/routing/RoutesSmokeTest.php --debug",
        "test-web-flows": "phpunit --testdox --bootstrap ./tests/auto/integration-web/bootstrap.php --group web-flow tests/auto/integration-web --debug",
        "test-web-security": "phpunit --testdox --bootstrap ./tests/auto/integration-web/bootstrap.php --group web-security tests/auto/integration-web --debug",
        "test-web-cli": "phpunit --testdox --bootstrap ./tests/auto/integration-web/bootstrap.php --group web-cli tests/auto/integration-web --debug",
        "test-web-modules": "phpunit --testdox --bootstrap ./tests/auto/integration-web/bootstrap.php --group web-modules tests/auto/integration-web --debug",
        "test-model-cms": "phpunit --testdox --bootstrap ./tests/auto/integration-web/bootstrap.php --group web-models tests/auto/integration-web --debug",
        "test-model-emulator": "phpunit --testdox --bootstrap ./tests/auto/models/config/emulator.php tests/auto/models --debug",
        "test-model-emulator-paradise": "phpunit --testdox --bootstrap ./tests/auto/models/config/emulator-paradise.php tests/auto/models --debug",
        "test-model-stream": "phpunit --testdox --bootstrap ./tests/auto/models/config/stream.php tests/auto/models --debug",
        "test-model-stream-pod": "phpunit --testdox --bootstrap ./tests/auto/models/config/stream-pod.php tests/auto/models --debug",
        "test-model-trinity-stream": "phpunit --testdox --bootstrap ./tests/auto/models/config/trinity-stream.php tests/auto/models --debug",
        "test-model-stream-topco": "phpunit --testdox --bootstrap ./tests/auto/models/config/stream-topco.php tests/auto/models --debug"
    },
    "pre-commit": [
        "php-cs-fixer fix ."
    ],
    "require-dev": {
        "phpunit/phpunit": "^9",
        "friendsofphp/php-cs-fixer": "^3.52",
        "brainmaestro/composer-git-hooks": "^2.8"
    },
    "extra": {
        "hooks": {
            "config": {
                "stop-on-failure": ["pre-commit", "pre-push"]
            },
            "pre-commit": [
                "echo committing as $(git config user.name)",
                "make pretty"
            ]
        }
    }
}
