cloudflare/Cloudflare-WordPress
Publicmirrored fromhttps://github.com/cloudflare/Cloudflare-WordPress
composer.json
34lines · modecode
6 years ago
| 1 | { |
| 2 | "autoload": { |
| 3 | "psr-4": { |
| 4 | "CF\\": "src/" |
| 5 | } |
| 6 | }, |
| 7 | "description": "A Cloudflare plugin for WordPress", |
| 8 | "license": "BSD-3-Clause", |
| 9 | "name": "cloudflare/wordpress-plugin", |
| 10 | "require": { |
| 11 | "cloudflare/cf-ip-rewrite": "^1.0.0", |
| 12 | "cloudflare/cloudflare-plugin-backend": "dev-master#d719d4eafff82a4ab92cc0c6ff7b6750ea33d1d6", |
| 13 | "symfony/yaml": "~2.6" |
| 14 | }, |
| 15 | "require-dev": { |
| 16 | "johnkary/phpunit-speedtrap": "1.0.1", |
| 17 | "php-mock/php-mock-phpunit": "^1.1", |
| 18 | "phpunit/phpunit": "4.8.*", |
| 19 | "squizlabs/php_codesniffer": "2.*", |
| 20 | "wimg/php-compatibility": "*", |
| 21 | "simplyadmire/composer-plugins": "@dev" |
| 22 | }, |
| 23 | "scripts": { |
| 24 | "format": "php vendor/squizlabs/php_codesniffer/scripts/phpcs -d date.timezone=UTC -n --standard=phpcs.xml", |
| 25 | "test": "php vendor/phpunit/phpunit/phpunit", |
| 26 | "post-install-cmd": "@php-compatibility-install", |
| 27 | "post-update-cmd": "@php-compatibility-install", |
| 28 | "php-compatibility-install": "rm -rf vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PHPCompatibility; cp -rp vendor/wimg/php-compatibility vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PHPCompatibility" |
| 29 | }, |
| 30 | "_comment": [ |
| 31 | "php-compatibility-install comes from https://github.com/wimg/PHPCompatibility/issues/102#issuecomment-255778195" |
| 32 | ], |
| 33 | "version": "3.4.0" |
| 34 | } |