woocommerce/plugins/woocommerce-admin/composer.json

85 lines
1.9 KiB
JSON

{
"name": "woocommerce/woocommerce-admin",
"version": "3.4.0-dev",
"description": "A modern, javascript-driven WooCommerce Admin experience.",
"homepage": "https://github.com/woocommerce/woocommerce-admin",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"prefer-stable": true,
"minimum-stability": "dev",
"require": {
"composer/installers": "^1.9.0",
"php": ">=7.0",
"automattic/jetpack-autoloader": "^2.9.1"
},
"require-dev": {
"woocommerce/woocommerce-sniffs": "0.1.0",
"suin/phpcs-psr4-sniff": "^2.2",
"bamarni/composer-bin-plugin": "^1.4",
"automattic/jetpack-changelogger": "^1.1",
"yoast/phpunit-polyfills": "^1.0"
},
"config": {
"platform": {
"php": "7.1"
},
"allow-plugins": {
"automattic/jetpack-autoloader": true,
"bamarni/composer-bin-plugin": true,
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"bin": "echo 'bin not installed'",
"post-install-cmd": [
"@composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all update --ansi"
],
"test": [
"phpunit"
],
"phpcs": [
"phpcs -s -p"
],
"phpcbf": [
"phpcbf -p"
]
},
"extra": {
"scripts-description": {
"test": "Run unit tests",
"phpcs": "Analyze code against the WordPress coding standards with PHP_CodeSniffer",
"phpcbf": "Fix coding standards warnings/errors automatically with PHP Code Beautifier"
},
"bamarni-bin": {
"target-directory": "bin/composer"
},
"changelogger": {
"changelog": "./changelog.txt",
"formatter": {
"filename": "bin/changelogger/WCAdminFormatter.php"
},
"versioning": "semver",
"changes-dir": "./changelogs",
"types": [
"Fix",
"Add",
"Update",
"Dev",
"Tweak",
"Performance",
"Enhancement"
]
}
},
"autoload": {
"psr-4": {
"Automattic\\WooCommerce\\Admin\\": "src/",
"Automattic\\WooCommerce\\Internal\\Admin\\": "src-internal/Admin/"
}
}
}