54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"name": "automattic/jetpack-wp-js-data-sync",
|
|
"description": "A package to setup REST API and script localization to pass data to a JavaScript client.",
|
|
"type": "jetpack-library",
|
|
"license": "GPL-2.0-or-later",
|
|
"require": {
|
|
"php": ">=7.2",
|
|
"automattic/jetpack-schema": "^0.2.0"
|
|
},
|
|
"require-dev": {
|
|
"yoast/phpunit-polyfills": "^1.1.1",
|
|
"automattic/jetpack-changelogger": "^5.1.0"
|
|
},
|
|
"suggest": {
|
|
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
|
|
},
|
|
"autoload": {
|
|
"classmap": [
|
|
"src/"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"phpunit": [
|
|
"./vendor/phpunit/phpunit/phpunit --colors=always"
|
|
],
|
|
"test-coverage": [
|
|
"php -dpcov.directory=. ./vendor/bin/phpunit --coverage-php \"$COVERAGE_DIR/php.cov\""
|
|
],
|
|
"test-php": [
|
|
"@composer phpunit"
|
|
]
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"extra": {
|
|
"mirror-repo": "Automattic/jetpack-wp-js-data-sync",
|
|
"changelogger": {
|
|
"link-template": "https://github.com/Automattic/jetpack-wp-js-data-sync/compare/v${old}...v${new}"
|
|
},
|
|
"autotagger": true,
|
|
"branch-alias": {
|
|
"dev-trunk": "0.6.x-dev"
|
|
},
|
|
"textdomain": "jetpack-wp-js-data-sync",
|
|
"version-constants": {
|
|
"::PACKAGE_VERSION": "src/class-data-sync.php"
|
|
}
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"roots/wordpress-core-installer": true
|
|
}
|
|
}
|
|
}
|