diff --git a/composer.json b/composer.json new file mode 100644 index 0000000000000000000000000000000000000000..fc3057c3e3e0044a591aa4914bffc82420a48959 --- /dev/null +++ b/composer.json @@ -0,0 +1,36 @@ +{ + "name": "wpdesk/wp-api-client", + "authors": [ + { + "name": "Krzysiek", + "email": "krzysiek@wpdesk.pl" + } + ], + "require": { + "php": ">=5.5", + "psr/log": "^1.0.1", + "wpdesk/wp-cache": "dev-master", + "wpdesk/wp-http-client": "dev-master", + "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\\ApiClient\\": "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" + } +}