{
    "name": "swag/paypal",
    "description": "PayPal integration for Shopware 6",
    "version": "10.1.1",
    "type": "shopware-platform-plugin",
    "license": "MIT",
    "authors": [
        {
            "name": "Shopware"
        }
    ],
    "require": {
        "shopware/core": "~6.7.0@dev",
        "shopware/paypal-sdk": "^1.2.2"
    },
    "extra": {
        "shopware-plugin-class": "Swag\\PayPal\\SwagPayPal",
        "copyright": "(c) by shopware AG",
        "label": {
            "de-DE": "PayPal-Produkte für Shopware 6",
            "en-GB": "PayPal Products for Shopware 6"
        },
        "description": {
            "de-DE": "Bieten Sie Ihren Kunden Deutschlands beliebteste Bezahlmöglichkeiten mit nur einer Integration: Das PayPal-Plugin bietet PayPal Checkout, den Expressbutton, Zettle und vieles mehr",
            "en-GB": "Get access to over 100 currencies and 200 markets worldwide with the payment module PayPal for your Shopware shop. Experience an easy and comfortable way of payment."
        },
        "manufacturerLink": {
            "de-DE": "https://store.shopware.com/shopware-ag.html",
            "en-GB": "https://store.shopware.com/en/shopware-ag.html"
        },
        "supportLink": {
            "de-DE": "https://issues.shopware.com/",
            "en-GB": "https://issues.shopware.com/"
        }
    },
    "scripts": {
        "jest": [
            "npm run unit-setup --prefix ../../../src/Administration/Resources/app/administration",
            "npm run unit --prefix src/Resources/app/administration"
        ],
        "jest:watch": [
            "npm run unit-setup --prefix ../../../src/Administration/Resources/app/administration",
            "npm run unit-watch --prefix src/Resources/app/administration"
        ],
        "lint": [
            "@ecs-fix",
            "@phpstan",
            "@phpunit"
        ],
        "ecs": "../../../vendor/bin/php-cs-fixer fix --dry-run",
        "ecs-fix": "../../../vendor/bin/php-cs-fixer fix",
        "init:admin": "npm ci --no-audit --prefer-offline --prefix src/Resources/app/administration",
        "lint:admin": "npm run lint-fix --prefix src/Resources/app/administration",
        "lint:admin:ci": "npm run lint --prefix src/Resources/app/administration",
        "init:storefront": "npm ci --no-audit --prefer-offline --prefix src/Resources/app/storefront",
        "lint:storefront": "@lint:storefront:ci --fix",
        "lint:storefront:ci": [
            "cd src/Resources/app/storefront && ../../../../../../../src/Storefront/Resources/app/storefront/node_modules/.bin/eslint --config ../../../../../../../src/Storefront/Resources/app/storefront/.eslintrc.js ./src",
            "cd src/Resources/app/storefront && ../../../../../../../src/Storefront/Resources/app/storefront/node_modules/.bin/stylelint --config ../../../../../../../src/Storefront/Resources/app/storefront/stylelint.config.js ./src/scss"
        ],
        "phpunit": "../../../vendor/bin/phpunit",
        "phpstan": [
            "php ../../../src/Core/DevOps/StaticAnalyze/phpstan-bootstrap.php",
            "php bin/phpstan-config-generator.php",
            "../../../vendor/bin/phpstan analyze"
        ],
        "rector": "../../../vendor/bin/rector process",
        "rector-dry": "../../../vendor/bin/rector process --dry-run",
        "openapi:generate": [
            "../../../bin/console swag:paypal:openapi:generate",
            "npm run openapi-types --prefix src/Resources/app/administration"
        ],
        "bc-check": [
            "php ../../../vendor-bin/roave-backward-compatibility-check/bin/verify-version.php",
            "@putenv TMPDIR=./..",
            "../../../vendor/bin/roave-backward-compatibility-check"
        ]
    },
    "autoload": {
        "psr-4": {
            "Swag\\PayPal\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Swag\\PayPal\\Test\\": "tests/"
        }
    },
    "repositories": {
        "platform-packages": {
            "type": "path",
            "url": "../../../src/*",
            "canonical": true
        }
    },
    "suggest": {
        "shopware/storefront": "Require '*'. Enables special payment features like 'Smart Payment Buttons' or 'Express Checkout'",
        "shopware/administration": "Require '*'. Allows you to to set up the plugin easily"
    },
    "config": {
        "allow-plugins": {
            "composer/package-versions-deprecated": true,
            "phpstan/extension-installer": true,
            "symfony/runtime": true,
            "php-http/discovery": false
        }
    }
}
