{
  "name": "publishpress/publishpress-capabilities",
  "type": "wordpress-plugin",
  "description": "",
  "license": "GPL-2",
  "authors": [
    {
      "name": "PublishPress",
      "email": "help@publishpress.com"
    }
  ],
  "config": {
    "preferred-install": {
      "*": "dist"
    }
  },
  "minimum-stability": "stable",
  "prefer-stable": true,
  "require": {
    "php": ">=7.2.5"
  },
  "scripts": {
    "build": "ppbuild build",
    "build:dir": "ppbuild build-dir",
    "build:clean": "ppbuild clean",
    "get:version": "ppbuild version",
    "gen:mo": "wp i18n make-mo ./languages ./languages --allow-root",
    "gen:pot": "wp i18n make-pot . languages/capability-manager-enhanced.pot --domain=capability-manager-enhanced --exclude=dev-workspace,.wordpress-org,.github,dist,tests,vendor, --allow-root",
    "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"
  }
}
