mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
107 lines
3.3 KiB
JSON
107 lines
3.3 KiB
JSON
{
|
|
"name": "woocommerce/woocommerce-paypal-payments",
|
|
"type": "wordpress-plugin",
|
|
"description": "PayPal Commerce Platform for WooCommerce",
|
|
"license": "GPL-2.0-or-later",
|
|
"require": {
|
|
"php": "^7.4 | ^8.0",
|
|
"ext-json": "*",
|
|
"psr/log": "^1.1",
|
|
"ralouphie/getallheaders": "^3.0",
|
|
"wikimedia/composer-merge-plugin": "^2.0",
|
|
"wp-oop/wordpress-interface": "^0.1.0-alpha1",
|
|
"dhii/versions": "^0.1.0-alpha1",
|
|
"symfony/polyfill-php80": "^1.19"
|
|
},
|
|
"require-dev": {
|
|
"inpsyde/composer-assets-compiler": "^2.5",
|
|
"psr/container": "^1.0",
|
|
"dhii/module-interface": "^0.2 || ^0.3",
|
|
"container-interop/service-provider": "^0.4.0",
|
|
"dhii/containers": "^0.1.0-alpha1",
|
|
"inpsyde/modularity": "^1.7",
|
|
"woocommerce/woocommerce-sniffs": "^0.1.0",
|
|
"phpunit/phpunit": "^7.0 | ^8.0 | ^9.0",
|
|
"brain/monkey": "^2.4",
|
|
"php-stubs/wordpress-stubs": "^5.0@stable",
|
|
"php-stubs/woocommerce-stubs": "^8.0@stable",
|
|
"vimeo/psalm": "^4.0",
|
|
"vlucas/phpdotenv": "^5"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"WooCommerce\\PayPalCommerce\\": "src",
|
|
"WooCommerce\\PayPalCommerce\\Common\\": "lib/common/",
|
|
"WooCommerce\\PayPalCommerce\\Vendor\\": "lib/packages/"
|
|
},
|
|
"files": [
|
|
"api/order-functions.php"
|
|
]
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"WooCommerce\\PayPalCommerce\\": "tests/PHPUnit/",
|
|
"WooCommerce\\PayPalCommerce\\Tests\\Integration\\": "tests/integration/PHPUnit/"
|
|
}
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"scripts": {
|
|
"ci": [
|
|
"vendor/bin/phpcs"
|
|
],
|
|
"unit": "./vendor/bin/phpunit --coverage-html build/coverage-report"
|
|
},
|
|
"extra": {
|
|
"installer-types": [
|
|
"inpsyde-module"
|
|
],
|
|
"installer-paths": {
|
|
"modules/{$name}/": [
|
|
"type:inpsyde-module"
|
|
]
|
|
},
|
|
"merge-plugin": {
|
|
"include": [
|
|
"modules/*/composer.json"
|
|
]
|
|
},
|
|
"hooks": {
|
|
"pre-commit": [
|
|
"vendor/bin/phpcbf"
|
|
]
|
|
},
|
|
"composer-asset-compiler": {
|
|
"auto-run": false,
|
|
"packages": {
|
|
"inpsyde/*": {
|
|
"dependencies": "install",
|
|
"script": "build"
|
|
}
|
|
}
|
|
},
|
|
"mozart": {
|
|
"dep_namespace": "WooCommerce\\PayPalCommerce\\Vendor\\",
|
|
"dep_directory": "/lib/packages/",
|
|
"classmap_directory": "/lib/classes/",
|
|
"classmap_prefix": "PCPP_",
|
|
"packages": [
|
|
"psr/container",
|
|
"dhii/containers",
|
|
"dhii/module-interface",
|
|
"inpsyde/modularity"
|
|
],
|
|
"delete_vendor_directories": true
|
|
}
|
|
},
|
|
"config": {
|
|
"platform": {
|
|
"php": "7.4"
|
|
},
|
|
"allow-plugins": {
|
|
"inpsyde/composer-assets-compiler": true,
|
|
"dealerdirect/phpcodesniffer-composer-installer": true,
|
|
"wikimedia/composer-merge-plugin": true
|
|
}
|
|
}
|
|
}
|