woocommerce/composer.json

72 lines
1.8 KiB
JSON

{
"name": "woocommerce/woocommerce",
"description": "An eCommerce toolkit that helps you sell anything. Beautifully.",
"homepage": "https://woocommerce.com/",
"type": "wordpress-plugin",
"license": "GPL-3.0-or-later",
"prefer-stable": true,
"minimum-stability": "dev",
"require": {
"automattic/jetpack-autoloader": "1.2.0",
"php": "^5.6|^7.0",
"composer/installers": "1.6.0",
"woocommerce/woocommerce-blocks": "2.3.0-beta",
"woocommerce/woocommerce-rest-api": "1.0.3"
},
"require-dev": {
"myclabs/deep-copy": "1.7.0",
"phpunit/phpunit": "6.5.14",
"woocommerce/woocommerce-sniffs": "0.0.6"
},
"config": {
"platform": {
"php": "7.0"
},
"preferred-install": {
"woocommerce/woocommerce-rest-api": "dist",
"woocommerce/woocommerce-blocks": "dist"
},
"sort-packages": true
},
"autoload": {
"exclude-from-classmap": [
"includes/legacy",
"includes/libraries"
],
"psr-4": {
"Automattic\\WooCommerce\\": "src/"
}
},
"scripts": {
"post-install-cmd": [
"sh ./bin/package-update.sh"
],
"post-update-cmd": [
"sh ./bin/package-update.sh"
],
"test": [
"phpunit"
],
"phpcs": [
"phpcs -s -p"
],
"phpcs-pre-commit": [
"phpcs -s -p -n"
],
"phpcbf": [
"phpcbf -p"
]
},
"extra": {
"installer-paths": {
"packages/woocommerce-rest-api": ["woocommerce/woocommerce-rest-api"],
"packages/woocommerce-blocks": ["woocommerce/woocommerce-blocks"]
},
"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"
}
}
}