{
  "$schema": "https://getcomposer.org/schema.json",
  "name": "oderland/oderland-smtp-postal-mailer",
  "version": "1.4.2",
  "description": "Send emails via SMTP or Postal API with logging and delivery tracking",
  "license": "GPL-3.0-or-later",
  "type": "wordpress-plugin",
  "authors": [
    {
      "name": "Oderland Webbhotell AB",
      "homepage": "https://www.oderland.com"
    }
  ],
  "config": {
    "platform": {
      "php": "8.4"
    },
    "allow-plugins": {
      "dealerdirect/phpcodesniffer-composer-installer": true,
      "phpstan/extension-installer": true
    },
    "optimize-autoloader": true,
    "autoloader-suffix": "OderlandSMTPPostalMailer",
    "process-timeout": 0
  },
  "require": {
    "postal/postal": "^2.0.2"
  },
  "require-dev": {
    "php": "^8.4",
    "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
    "slevomat/coding-standard": "^8.15",
    "wp-coding-standards/wpcs": "^3.1",
    "phpcompatibility/phpcompatibility-wp": "^2.1",
    "szepeviktor/phpstan-wordpress": "^2.0",
    "phpstan/extension-installer": "^1.4",
    "sirbrillig/phpcs-variable-analysis": "^2.11",
    "wp-cli/wp-cli": "^2.11",
    "wp-cli/i18n-command": "^2.6",
    "phpunit/phpunit": "^9.6",
    "yoast/phpunit-polyfills": "^4.0",
    "composer/composer": "^2.8"
  },
  "autoload": {
    "psr-4": {
      "Oderland\\SMTP_Postal\\Views\\": "views/",
      "Oderland\\SMTP_Postal\\": "includes/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "Oderland\\CLI\\": "cli/"
    },
    "classmap": [
      "tests/bootstrap.php",
      "tests/Printer.php",
      "tests/TestCase.php",
      "tests/IntegrationTestCase.php",
      "tests/integration/"
    ],
    "files": [
      "dev.php"
    ]
  },
  "scripts": {
    "lint": "phpcs --colors -p && phpstan analyse",
    "format": "phpcbf",
    "test": "phpunit -c tests/phpunit.xml --testdox",
    "generate-i18n": [
      "wp i18n make-pot .",
      "wp i18n update-po languages/*.pot",
      "wp i18n make-mo languages",
      "rm -f languages/*.json",
      "wp i18n make-json --no-purge languages"
    ],
    "package-plugin": "Oderland\\CLI\\PackagePlugin::run",
    "install-test-suite": "Oderland\\CLI\\InstallTestSuite::run",
    "lang-import": "Oderland\\CLI\\GlotPress::import",
    "lang-export": "Oderland\\CLI\\GlotPress::export"
  }
}
