{
  "name": "emerchantpay/woocommerce-emerchantpay-plugin",
  "description": "emerchantpay Payment Gateway for WooCommerce",
  "minimum-stability": "stable",
  "license": "GPL-2.0",
  "version": "1.17.13",
  "type": "wordpress-plugin",
  "authors": [
    {
      "name": "emerchantpay",
      "email": "shopping_carts@emerchantpay.com",
      "homepage":"https://emerchantpay.com"
    }
  ],
  "config": {
    "allow-plugins": {
      "dealerdirect/phpcodesniffer-composer-installer": true
    },
    "vendor-dir": "libraries/vendor"
  },
  "autoload": {
    "classmap": [
      "classes",
      "includes"
    ],
    "psr-4": {
      "Genesis\\": "libraries/genesis/src/Genesis"
    }
  },
  "require-dev": {
    "wp-coding-standards/wpcs": "^3.1",
    "squizlabs/php_codesniffer": "^3.9",
    "phpmd/phpmd" : "^2.15"
  },
  "scripts": {
      "pack": [
        "@gen-language",
        "@build",
        "bin/pack"
      ],
      "gen-language": [
        "msgfmt languages/woocommerce-emerchantpay-en_GB.po -o languages/woocommerce-emerchantpay-en_GB.mo",
        "msgfmt languages/woocommerce-emerchantpay-en_US.po -o languages/woocommerce-emerchantpay-en_US.mo"
      ],
      "build": [
        "npm install",
        "npm run build"
      ],
      "php-cs": [
        "libraries/vendor/bin/phpcs --standard=./.phpcs.xml --report=full --colors ./"
      ],
      "php-cs-jenkins": [
        "libraries/vendor/bin/phpcs -d memory_limit=-1 --standard=./.phpcs.xml --report=checkstyle --report-file=phpcs_report.xml ./"
      ],
      "php-md": [
        "libraries/vendor/bin/phpmd --color ./ ansi ./.phpmd.xml --not-strict"
      ],
      "php-md-jenkins": [
        "libraries/vendor/bin/phpmd ./ xml ./.phpmd.xml --reportfile=phpmd_report.xml --not-strict --ignore-violations-on-exit"
      ],
      "styles": [
        "@php-cs",
        "@php-md"
    ]
  }
}
