64 lines
1.5 KiB
JSON
64 lines
1.5 KiB
JSON
{
|
|
"name": "automattic/jetpack-explat",
|
|
"description": "A package for running A/B tests on the Experimentation Platform (ExPlat) in the plugin.",
|
|
"type": "jetpack-library",
|
|
"license": "GPL-2.0-or-later",
|
|
"require": {
|
|
"php": ">=7.0",
|
|
"automattic/jetpack-connection": "^4.0.0"
|
|
},
|
|
"require-dev": {
|
|
"yoast/phpunit-polyfills": "^1.1.1",
|
|
"automattic/jetpack-changelogger": "^4.2.6"
|
|
},
|
|
"autoload": {
|
|
"classmap": [
|
|
"src/"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"phpunit": [
|
|
"./vendor/phpunit/phpunit/phpunit --colors=always"
|
|
],
|
|
"test-php": [
|
|
"@composer phpunit"
|
|
],
|
|
"test-js": [
|
|
"echo 'Run `pnpm run test` when ready'"
|
|
],
|
|
"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"
|
|
]
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"extra": {
|
|
"autotagger": true,
|
|
"branch-alias": {
|
|
"dev-trunk": "0.1.x-dev"
|
|
},
|
|
"changelogger": {
|
|
"link-template": "https://github.com/Automattic/jetpack-explat/compare/v${old}...v${new}"
|
|
},
|
|
"mirror-repo": "Automattic/jetpack-explat",
|
|
"textdomain": "jetpack-explat",
|
|
"version-constants": {
|
|
"::PACKAGE_VERSION": "src/class-explat.php"
|
|
}
|
|
},
|
|
"suggest": {
|
|
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
|
|
}
|
|
}
|