diff options
Diffstat (limited to 'plugins/jetpack/composer.json')
-rw-r--r-- | plugins/jetpack/composer.json | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/jetpack/composer.json b/plugins/jetpack/composer.json new file mode 100644 index 00000000..357db9c2 --- /dev/null +++ b/plugins/jetpack/composer.json @@ -0,0 +1,26 @@ +{ + "name": "automattic/jetpack", + "description": "Jetpack supercharges your self‑hosted WordPress site with the awesome cloud power of WordPress.com", + "homepage": "https://jetpack.com/", + "type": "wordpress-plugin", + "license": "GPL-2.0-or-later", + "support": { + "issues": "https://github.com/Automattic/jetpack/issues" + }, + "require": { + "composer/installers": "1.6.0", + "ext-openssl": "*" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "0.5.0", + "wp-coding-standards/wpcs": "2.1.0", + "sirbrillig/phpcs-variable-analysis": "2.6.2", + "phpcompatibility/phpcompatibility-wp": "2.0.0" + }, + "scripts": { + "php:compatibility": "composer install && vendor/bin/phpcs -p --runtime-set testVersion '5.2-' --standard=PHPCompatibilityWP --ignore=docker,tools,tests,node_modules,vendor --extensions=php", + "php:lint": "composer install && vendor/bin/phpcs -p", + "php:autofix": "composer install && vendor/bin/phpcbf", + "php:lint:errors": "composer install && vendor/bin/phpcs -p --runtime-set ignore_warnings_on_exit 1" + } +} |