55 lines
1.3 KiB
JSON
55 lines
1.3 KiB
JSON
{
|
|
"name": "woocommerce/woocommerce-admin",
|
|
"version": "2.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"
|
|
},
|
|
"config": {
|
|
"platform": {
|
|
"php": "7.1"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Automattic\\WooCommerce\\Admin\\": "src/"
|
|
}
|
|
}
|
|
}
|