67 lines
1.7 KiB
JSON
67 lines
1.7 KiB
JSON
{
|
|
"name": "automattic/jetpack-connection",
|
|
"description": "Everything needed to connect to the Jetpack infrastructure",
|
|
"type": "jetpack-library",
|
|
"license": "GPL-2.0-or-later",
|
|
"require": {
|
|
"automattic/jetpack-a8c-mc-stats": "^1.4",
|
|
"automattic/jetpack-admin-ui": "^0.2",
|
|
"automattic/jetpack-constants": "^1.6",
|
|
"automattic/jetpack-roles": "^1.4",
|
|
"automattic/jetpack-status": "^1.14",
|
|
"automattic/jetpack-redirect": "^1.7"
|
|
},
|
|
"require-dev": {
|
|
"automattic/wordbless": "@dev",
|
|
"yoast/phpunit-polyfills": "1.0.3",
|
|
"brain/monkey": "2.6.1",
|
|
"automattic/jetpack-changelogger": "^3.2"
|
|
},
|
|
"autoload": {
|
|
"classmap": [
|
|
"legacy",
|
|
"src/",
|
|
"src/webhooks"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"build-production": [
|
|
"pnpm run build-production"
|
|
],
|
|
"build-development": [
|
|
"pnpm run build"
|
|
],
|
|
"phpunit": [
|
|
"./vendor/phpunit/phpunit/phpunit --colors=always"
|
|
],
|
|
"post-update-cmd": "php -r \"copy('vendor/automattic/wordbless/src/dbless-wpdb.php', 'wordpress/wp-content/db.php');\"",
|
|
"test-coverage": [
|
|
"php -dpcov.directory=. ./vendor/bin/phpunit --coverage-clover \"$COVERAGE_DIR/clover.xml\""
|
|
],
|
|
"test-php": [
|
|
"@composer phpunit"
|
|
]
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"extra": {
|
|
"autotagger": true,
|
|
"mirror-repo": "Automattic/jetpack-connection",
|
|
"textdomain": "jetpack-connection",
|
|
"version-constants": {
|
|
"::PACKAGE_VERSION": "src/class-package-version.php"
|
|
},
|
|
"changelogger": {
|
|
"link-template": "https://github.com/Automattic/jetpack-connection/compare/v${old}...v${new}"
|
|
},
|
|
"branch-alias": {
|
|
"dev-trunk": "1.41.x-dev"
|
|
}
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"roots/wordpress-core-installer": true
|
|
}
|
|
}
|
|
}
|