diff --git a/composer.json b/composer.json new file mode 100644 index 0000000000000000000000000000000000000000..f1925d225656578ab21562edfdf8e6a7ef410d58 --- /dev/null +++ b/composer.json @@ -0,0 +1,36 @@ +{ + "name": "wpdesk/wp-http-client", + "authors": [ + { + "name": "Krzysiek", + "email": "krzysiek@wpdesk.pl" + } + ], + "require": { + "php": ">=5.5", + "ext-curl": "*", + "ext-json": "*", + "psr/log": "^1.0.1", + "psr/simple-cache": "^1.0" + }, + "require-dev": { + "phpunit/phpunit": "<7", + "wp-coding-standards/wpcs": "^0.14.1", + "squizlabs/php_codesniffer": "^3.0.2", + "mockery/mockery": "*", + "10up/wp_mock": "*" + }, + "autoload": { + "psr-4": { + "WPDesk\\HttpClient\\": "src/" + } + }, + "autoload-dev": { + }, + "scripts": { + "phpunit-unit": "phpunit --configuration phpunit-unit.xml --coverage-text --colors=never", + "phpunit-unit-fast": "phpunit --configuration phpunit-unit.xml --no-coverage", + "phpunit-integration": "phpunit --configuration phpunit-integration.xml --coverage-text --colors=never", + "phpunit-integration-fast": "phpunit --configuration phpunit-integration.xml --no-coverage" + } +}