{
    "name": "barn2/posts-table-pro",
    "description": "Posts Table Pro plugin for WordPress.",
    "type": "wordpress-plugin",
    "license": "GPL-3.0",
    "authors": [{
        "name": "Barn2 Plugins",
        "email": "support@barn2.com"
    }],
    "minimum-stability": "dev",
    "prefer-stable": true,
    "require": {
        "barn2/datatables": "dev-master",
        "select2/select2": "^4.0.10",
        "uninhabited/fitvids.js": "dev-master",
        "malsup/jquery-blockui": "^2.70",
        "dimsemenov/photoswipe": "^4.1.3"
    },
    "require-dev": {
        "bamarni/composer-bin-plugin": "^1.6",
        "barn2/php-standards": "dev-master",
        "barn2/table-generator": "^1.0.6",
        "barn2/php-scoper-excludes": "^0.1.0",
        "chevere/var-dump": "^0.6.0",
        "chevere/xr": "^0.6.0",
        "chevere/xr-server": "^0.6.2",
        "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
        "humbug/php-scoper": "^0.17.5",
        "symfony/var-dumper": "^5.1"
    },
    "repositories": [
        {
            "type": "vcs",
            "url": "git@bitbucket.org:barn2plugins/php-standards.git"
        },
        {
            "type": "vcs",
            "url": "git@bitbucket.org:barn2plugins/table-generator.git"
        },
        {
            "type": "vcs",
            "url": "git@bitbucket.org:barn2plugins/barn2-datatables.git"
        },
        {
            "type": "vcs",
            "url": "git@bitbucket.org:barn2plugins/php-scoper-excludes.git"
        },
        {
            "type": "package",
            "package": {
                "name": "malsup/jquery-blockui",
                "version": "2.70",
                "dist": {
                    "url": "https://github.com/malsup/blockui/archive/refs/tags/2.70.zip",
                    "type": "zip"
                }
            }
        },
        {
            "type": "package",
            "package": {
                "name": "dimsemenov/photoswipe",
                "version": "4.1.3",
                "dist": {
                    "url": "https://github.com/dimsemenov/PhotoSwipe/archive/refs/tags/v4.1.3.zip",
                    "type": "zip"
                }
            }
        }
    ],
    "autoload": {
        "psr-4": {
            "Barn2\\Plugin\\Posts_Table_Pro\\": "includes",
            "Barn2\\PTP_Lib\\": "lib",
            "WPTRT\\AdminNotices\\": "lib/vendor/admin-notices/src"
        },
        "classmap": [
            "dependencies"
        ],
        "files": [
            "lib/class-html-data-table.php",
            "lib/class-wp-scoped-hooks.php",
            "includes/template-functions.php",
            "includes/deprecated.php"
        ]
    },
    "scripts": {
        "post-update-cmd": "npm run vendor-assets",
        "lint": "phpcs .",
        "lint-fix": "phpcbf .",
        "phpunit": "phpunit",
        "documentor": "phpDocumentor -t docs",
        "phpunit-coverage": "phpunit --coverage-text",
        "no-dev": "composer update --prefer-dist --no-dev",
        "install-scoper": [
            "composer bin php-scoper config minimum-stability dev",
            "composer bin php-scoper config prefer-stable true",
            "composer bin php-scoper require --dev humbug/php-scoper --with-all-dependencies"
        ],
        "scoper": "bin/php-scoper add-prefix --config .scoper.inc.php --output-dir dependencies/"
    },
    "config": {
        "bin-dir": "bin",
        "sort-packages": true,
        "preferred-install": {
            "*": "dist"
        },
        "allow-plugins": {
            "bamarni/composer-bin-plugin": true,
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "composer/package-versions-deprecated": true
        }
    }
}
