{
  "name": "brightleaf-digital/asana-client",
  "description": "A PHP client library for the Asana API",
  "type": "library",
  "license": "MIT", 
  "authors": [
    {
      "name": "Eitan Adler",
      "email": "eitan@brightleafc.com"
    }
  ],
  "require": {
    "php": "^7.4 || ^8.0",
    "league/oauth2-client": "^2.4",
    "guzzlehttp/guzzle": "^7",
    "psr/log": "^1.1 || ^2.0 || ^3.0",
    "psr/container": "^1.1 || ^2.0"
  },
  "require-dev": {
    "vlucas/phpdotenv": ">=v5.6.2",
    "squizlabs/php_codesniffer": "^3.13.2 || ^4.0.0",
    "phpunit/phpunit": "^9.6.33",
    "phpstan/phpstan": "^1.12 || ^2.0",
    "phpstan/phpstan-phpunit": "^2.0"
  },
  "autoload": {
    "psr-4": {
      "BrightleafDigital\\": "src/"
    }
  },
  "autoload-dev": {
    "psr-4": {
        "BrightleafDigital\\Tests\\": "tests/"
    }
  },
  "scripts": {
    "lint": "phpcs --standard=PSR12 src tests",
    "lint:fix": "phpcbf --standard=PSR12 src tests",
    "test": "phpunit --configuration phpunit.xml",
    "test:coverage": "php -r \"is_dir('build/logs') || mkdir('build/logs', 0777, true);\" && XDEBUG_MODE=coverage phpunit --configuration phpunit.xml --coverage-clover build/logs/clover.xml --log-junit build/logs/junit.xml",
    "analyse": "phpstan analyse --configuration=phpstan.neon.dist --memory-limit=512M",
    "check": [
      "@lint",
      "@analyse",
      "@test"
    ]
  }
}
