{
  "name": "solspace/craft-freeform",
  "description": "The most reliable, intuitive and powerful form builder for Craft.",
  "version": "3.11.10",
  "type": "craft-plugin",
  "authors": [
    {
      "name": "Solspace",
      "homepage": "https://solspace.com/"
    }
  ],
  "require": {
    "composer/composer": "^1.0|^2.0.13",
    "craftcms/cms": "^3.4.0",
    "symfony/property-access": "^2.8|^3.0|^4.0|^5.0",
    "symfony/finder": "^2.8|^3.0|^4.0|^5.0",
    "symfony/filesystem": "^2.8|^3.0|^4.0|^5.0",
    "solspace/craft3-commons": "^1.0.21",
    "hashids/hashids": "^2.0|^3.0|^4.0",
    "egulias/email-validator": "^2.1|^3.0",
    "nesbot/carbon": "^1.22.1|^2.19",
    "stripe/stripe-php": "^7.27.3",
    "phpoffice/phpspreadsheet": "^1.6.0",
    "ext-json": "*"
  },
  "require-dev": {
    "phpunit/phpunit": "^9.3.0",
    "friendsofphp/php-cs-fixer": "^2.16",
    "brainmaestro/composer-git-hooks": "^2.8"
  },
  "autoload": {
    "psr-4": {
      "Solspace\\Freeform\\": "packages/plugin/src/",
      "Solspace\\Tests\\Freeform\\": "packages/plugin/tests"
    }
  },
  "scripts": {
    "test:unit": "vendor/bin/phpunit --configuration ./phpunit.xml",
    "fix": "vendor/bin/php-cs-fixer fix --diff",
    "fix:dry-run": "vendor/bin/php-cs-fixer fix --dry-run --diff",
    "cghooks": "vendor/bin/cghooks",
    "post-install-cmd": "cghooks add --ignore-lock",
    "post-update-cmd": "cghooks update"
  },
  "extra": {
    "schemaVersion": "3.3.2",
    "handle": "freeform",
    "class": "Solspace\\Freeform\\Freeform",
    "name": "Freeform",
    "developer": "Solspace",
    "developerUrl": "https://docs.solspace.com/",
    "documentationUrl": "https://docs.solspace.com/craft/freeform/v3/",
    "changelogUrl": "https://raw.githubusercontent.com/solspace/craft3-freeform/master/CHANGELOG.md",
    "hasSettings": true,
    "hasCpSection": true,
    "hooks": {
      "pre-commit": [
        "set -e",
        "npm -v",
        "php -v",
        "printf '\\n\\e[32m######### Linting Scripts #########\\e[0m\\n\\n'",
        "npm run lint",
        "printf '\\n\\e[32m######### Running Unit Tests #########\\e[0m\\n\\n'",
        "composer run test:unit",
        "printf '\\n\\e[32m######### Running CS Fixer dry run #########\\e[0m\\n\\n'",
        "composer run fix:dry-run || (printf \"\\e[41mCS Fixer found issues\\e[0m\\n\" && exit 1)"
      ]
    }
  }
}
