2022-07-28 18:42:13 +00:00
|
|
|
{
|
|
|
|
"name": "automattic/jetpack-my-jetpack",
|
|
|
|
"description": "WP Admin page with information and configuration shared among all Jetpack stand-alone plugins",
|
|
|
|
"type": "jetpack-library",
|
|
|
|
"license": "GPL-2.0-or-later",
|
|
|
|
"require": {
|
|
|
|
"automattic/jetpack-admin-ui": "^0.2",
|
|
|
|
"automattic/jetpack-assets": "^1.17",
|
2022-09-02 15:19:40 +00:00
|
|
|
"automattic/jetpack-connection": "^1.44",
|
|
|
|
"automattic/jetpack-jitm": "^2.2",
|
2022-07-28 18:42:13 +00:00
|
|
|
"automattic/jetpack-licensing": "^1.7",
|
2022-09-02 15:19:40 +00:00
|
|
|
"automattic/jetpack-plugins-installer": "^0.2",
|
2022-07-28 18:42:13 +00:00
|
|
|
"automattic/jetpack-redirect": "^1.7",
|
|
|
|
"automattic/jetpack-constants": "^1.6"
|
|
|
|
},
|
|
|
|
"require-dev": {
|
|
|
|
"yoast/phpunit-polyfills": "1.0.3",
|
|
|
|
"automattic/jetpack-changelogger": "^3.2",
|
|
|
|
"automattic/wordbless": "@dev"
|
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"classmap": [
|
|
|
|
"src/",
|
|
|
|
"src/products"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"phpunit": [
|
|
|
|
"./vendor/phpunit/phpunit/phpunit --colors=always"
|
|
|
|
],
|
|
|
|
"test-coverage": [
|
|
|
|
"php -dpcov.directory=. ./vendor/bin/phpunit --coverage-clover \"$COVERAGE_DIR/coverage.xml\"",
|
|
|
|
"pnpm run test --coverageDirectory=\"$COVERAGE_DIR\" --coverage --coverageReporters=clover"
|
|
|
|
],
|
|
|
|
"test-php": [
|
|
|
|
"@composer phpunit"
|
|
|
|
],
|
|
|
|
"test-js": [
|
|
|
|
"pnpm run test"
|
|
|
|
],
|
|
|
|
"test-js-watch": [
|
|
|
|
"Composer\\Config::disableProcessTimeout",
|
|
|
|
"pnpm run test --watch"
|
|
|
|
],
|
|
|
|
"build-development": [
|
|
|
|
"pnpm run build"
|
|
|
|
],
|
|
|
|
"build-production": [
|
|
|
|
"NODE_ENV=production pnpm run build"
|
|
|
|
],
|
|
|
|
"watch": [
|
|
|
|
"Composer\\Config::disableProcessTimeout",
|
|
|
|
"pnpm run watch"
|
|
|
|
],
|
|
|
|
"post-update-cmd": "php -r \"copy('vendor/automattic/wordbless/src/dbless-wpdb.php', 'wordpress/wp-content/db.php');\""
|
|
|
|
},
|
|
|
|
"minimum-stability": "dev",
|
|
|
|
"prefer-stable": true,
|
|
|
|
"extra": {
|
|
|
|
"autotagger": true,
|
|
|
|
"mirror-repo": "Automattic/jetpack-my-jetpack",
|
|
|
|
"textdomain": "jetpack-my-jetpack",
|
|
|
|
"changelogger": {
|
|
|
|
"link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}"
|
|
|
|
},
|
|
|
|
"branch-alias": {
|
2022-09-02 15:19:40 +00:00
|
|
|
"dev-trunk": "2.0.x-dev"
|
2022-07-28 18:42:13 +00:00
|
|
|
},
|
|
|
|
"version-constants": {
|
|
|
|
"::PACKAGE_VERSION": "src/class-initializer.php"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"allow-plugins": {
|
|
|
|
"roots/wordpress-core-installer": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|