{
  "extra": {
    "base-namespace": "CouponsPlus"
  },
  "require": {
    "php": ">=7.4 <8.0",
    "nesbot/carbon": "^2.73.0",
    "delight-im/cookie": "3.4",
    "mattiasgeniar/php-percentages": "1.3",
    "cmixin/business-day": "1.20.3",
    "azuyalabs/yasumi": "2.6.0",
    "dflydev/dot-access-data": "^3.0",
    "ext-json": "*",
    "mistralys/subsetsum": "1.0.2",
    "voku/stringy": "^7.0",
    "symfony/console": "3.4.0",
    "symfony/filesystem": "3.4.0",
    "symfony/finder": "3.0.0",
    "rafark/tgm-plugin-activation": "^2.6",
    "rikudou/array-merge-recursive": "^1.0"
  },
  "autoload": {
    "classmap": [
      "vendor-prefixed/"
    ],
    "exclude-from-classmap": [
      "vendor-prefixed/cmixin/business-day/types/",
      "vendor-prefixed/nesbot/carbon/lazy/",
      "vendor-prefixed/voku/stringy/src/JsonSerializableReturnTypeTraitPhp81.php",
      "vendor-prefixed/symfony/polyfill-php80/Resources/stubs/",
      "vendor-prefixed/symfony/polyfill-intl-grapheme/bootstrap.php"
    ],
    "files": [
      "vendor-prefixed/rikudou/array-merge-recursive/src/array_merge_recursive.php",
      "vendor-prefixed/voku/portable-utf8/bootstrap.php",
      "vendor-prefixed/mattiasgeniar/php-percentages/src/Helpers.php",
      "vendor-prefixed/symfony/polyfill-iconv/bootstrap.php",
      "vendor-prefixed/symfony/polyfill-intl-grapheme/bootstrap.php",
      "vendor-prefixed/symfony/polyfill-intl-idn/bootstrap.php",
      "vendor-prefixed/symfony/polyfill-intl-normalizer/bootstrap.php",
      "vendor-prefixed/symfony/polyfill-mbstring/bootstrap.php",
      "vendor-prefixed/symfony/polyfill-php80/bootstrap.php",
      "vendor-prefixed/voku/arrayy/src/Create.php",
      "vendor-prefixed/voku/portable-utf8/bootstrap.php",
      "vendor-prefixed/voku/stringy/src/Create.php"
    ]
  },
  "scripts": {
    "pre-install-cmd": "mkdir -p vendor-prefixed # composer will try to look for this dir upon installing because of the autoload.classmap we have in this config file.",
    "prefix-namespaces": [
        "chmod +x prefix.sh && ./prefix.sh false",
        "@composer dump-autoload --ansi"
    ],
    "pre-build": [
      "@prefix-namespaces",
      "chmod +x app/commands/lowercase-all-paths",
      "node app/commands/lowercase-all-paths"
    ],
    "install-scripts-ci": [
      "cd app/scripts/dashboard && npm ci --legacy-peer-deps --no-audit --prefer-offline",
      "cd app/scripts/welcome && npm ci --no-audit --prefer-offline"
    ],
    "build-scripts": [
      "cd app/scripts/dashboard && npm run build",
      "cd app/scripts/welcome && npm run build"
    ],
    "test:install": [
      "cd tools/phpunit && composer install",
      "bin/install-wp-tests.sh coupons_plus_test root '' 127.0.0.1 latest false"
    ],
    "test": "@php -d xdebug.start_with_request=yes tools/phpunit/vendor/bin/phpunit --stop-on-error --stop-on-failure",
    "test.ci": "@php tools/phpunit/vendor/bin/phpunit --stop-on-error --stop-on-failure",
    "dash": "cd app/scripts/dashboard && npm",
    "start": "cd app/scripts/dashboard && npm run dev",
    "start-env": "wp-env start --update",
    "reset-env": "wp-env destroy && wp-env start",
    "next-version": "git-cliff --bumped-version 2>/dev/null"
  },
  "config": {
    "process-timeout": 0,
    "platform": {
      "php": "7.4.33"
    },
    "allow-plugins": {
      "kylekatarnls/update-helper": true
    }
  },
  "minimum-stability": "dev",
  "prefer-stable": true,
  "require-dev": {
    "sniccowp/php-scoper-wordpress-excludes": "^7.0"
  }
}
