{
  "name": "publishpress/publishpress-capabilities",
  "type": "wordpress-plugin",
  "description": "",
  "license": "GPL-2.0-or-later",
  "authors": [
    {
      "name": "PublishPress",
      "email": "help@publishpress.com"
    }
  ],
  "config": {
    "preferred-install": {
      "*": "dist"
    },
    "process-timeout": 0
  },
  "minimum-stability": "stable",
  "prefer-stable": true,
  "require": {
    "php": ">=7.2.5"
  },
  "require-dev": {
    "overtrue/phplint": "^9.6",
    "publishpress/translations": "dev-development"
  },
  "scripts": {
    "build": "build zip",
    "build:dir": "build dir",
    "build:clean": "build clean",
    "translate": "vendor/bin/publishpress-translate --languages=de_DE,fi,fil,id_ID,ja,ko_KR,nl_NL,ru_RU,yor,ca",
    "translate:dry-run": "vendor/bin/publishpress-translate --dry-run",
    "translate:download": "vendor/bin/publishpress-translate --download",
    "translate:upload": "vendor/bin/publishpress-translate --upload",
    "translate:custom": "vendor/bin/publishpress-translate --languages",
    "translate:force": "vendor/bin/publishpress-translate --force",
    "translate:force-custom": "vendor/bin/publishpress-translate --force --languages",
    "translate:compile": [
      "@translate:mo",
      "@translate:json",
      "@translate:php"
    ],
    "translate:pot": "wp i18n make-pot . ./languages/capability-manager-enhanced.pot --domain=capability-manager-enhanced --exclude=dev-workspace,.wordpress-org,.github,dist,tests,lib,tmp,doc,*.js,*.js.map --allow-root",
    "translate:mo": "wp i18n make-mo ./languages ./languages --allow-root",
    "translate:json": "bash ./dev-workspace/scripts/lang-make-json.sh",
    "translate:php": "wp i18n make-php ./languages --allow-root",
    "info:versions": "bash ./dev-workspace/scripts/dependency-versions.sh",
    "gen:mo": "@translate:mo",
    "gen:pot": "@translate:pot",
    "check:longpath": "longpath .",
    "check:lint": "phplint",
    "check:phpcs": "phpcs",
    "check:php": [
        "@check:php56",
        "@check:php72",
        "@check:php74",
        "@check:php80",
        "@check:php81",
        "@check:php82"
    ],
    "check:php56": "phpcs --standard=.phpcs-php-compatibility.xml --runtime-set testVersion 5.6 ./capability-manager-enhanced.php",
    "check:php72": "phpcs --standard=.phpcs-php-compatibility.xml --runtime-set testVersion 7.2",
    "check:php74": "phpcs --standard=.phpcs-php-compatibility.xml --runtime-set testVersion 7.4",
    "check:php80": "phpcs --standard=.phpcs-php-compatibility.xml --runtime-set testVersion 8.0",
    "check:php81": "phpcs --standard=.phpcs-php-compatibility.xml --runtime-set testVersion 8.1",
    "check:php82": "phpcs --standard=.phpcs-php-compatibility.xml --runtime-set testVersion 8.2",
    "pre-autoload-dump": "composer dumpautoload --working-dir=./lib",
    "pre-update-cmd": "composer update --working-dir=./lib",
    "pre-install-cmd": "composer install --working-dir=./lib",
	  "term": "cd dev-workspace && ./run"
  },
  "extra": {
    "plugin-name": "publishpress-capabilities",
    "plugin-slug": "capsman-enhanced",
    "plugin-folder": "capability-manager-enhanced"
  }
}
