summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/composer.json')
-rw-r--r--plugins/jetpack/composer.json52
1 files changed, 43 insertions, 9 deletions
diff --git a/plugins/jetpack/composer.json b/plugins/jetpack/composer.json
index 357db9c2..161510ad 100644
--- a/plugins/jetpack/composer.json
+++ b/plugins/jetpack/composer.json
@@ -8,19 +8,53 @@
"issues": "https://github.com/Automattic/jetpack/issues"
},
"require": {
- "composer/installers": "1.6.0",
- "ext-openssl": "*"
+ "ext-fileinfo": "*",
+ "ext-json": "*",
+ "ext-openssl": "*",
+ "automattic/jetpack-abtest": "1.0.2",
+ "automattic/jetpack-assets": "1.0.3",
+ "automattic/jetpack-autoloader": "1.3.5",
+ "automattic/jetpack-backup": "1.0.2",
+ "automattic/jetpack-compat": "1.0.5",
+ "automattic/jetpack-connection": "1.7.0",
+ "automattic/jetpack-constants": "1.1.3",
+ "automattic/jetpack-error": "1.0.4",
+ "automattic/jetpack-jitm": "1.0.10",
+ "automattic/jetpack-logo": "1.1.4",
+ "automattic/jetpack-options": "1.1.2",
+ "automattic/jetpack-roles": "1.0.4",
+ "automattic/jetpack-sync": "1.5.1",
+ "automattic/jetpack-terms-of-service": "1.0.4",
+ "automattic/jetpack-tracking": "1.2.2"
},
"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"
+ "phpcompatibility/phpcompatibility-wp": "2.1.0",
+ "sirbrillig/phpcs-changed": "2.2.7-beta-1@dev",
+ "sirbrillig/phpcs-variable-analysis": "2.7.0",
+ "wp-coding-standards/wpcs": "^2.2"
},
"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"
+ "php:compatibility": "vendor/bin/phpcs -p -s --runtime-set testVersion '5.6-' --standard=PHPCompatibilityWP --ignore=docker,tools,tests,node_modules,vendor --extensions=php",
+ "php:lint": "vendor/bin/phpcs -p -s",
+ "php:changed": "vendor/sirbrillig/phpcs-changed/bin/phpcs-changed --git",
+ "php:autofix": "vendor/bin/phpcbf",
+ "php:lint:errors": "vendor/bin/phpcs -p -s --runtime-set ignore_warnings_on_exit 1"
+ },
+ "repositories": [
+ {
+ "type": "path",
+ "url": "./packages/*"
+ }
+ ],
+ "autoload": {
+ "classmap": [
+ "src"
+ ]
+ },
+ "minimum-stability": "stable",
+ "prefer-stable": true,
+ "config": {
+ "sort-packages": true
}
}