woocommerce/composer.json

46 lines
1.2 KiB
JSON
Raw Normal View History

{
2019-05-22 12:49:59 +00:00
"name": "woocommerce/woocommerce-rest-api",
"description": "The WooCommerce core REST API.",
"homepage": "https://github.com/woocommerce/woocommerce-rest-api",
"license": "GPL-3.0-or-later",
2019-06-12 19:47:46 +00:00
"type": "wordpress-plugin",
"prefer-stable": true,
"minimum-stability": "dev",
2019-06-06 16:34:11 +00:00
"require-dev": {
2019-06-11 10:37:09 +00:00
"phpunit/phpunit": "6.5.14",
2019-06-12 19:47:46 +00:00
"woocommerce/woocommerce-sniffs": "0.0.6",
"slowprog/composer-copy-file": "~0.3"
},
"scripts": {
"post-install-cmd": [
"composer dump-autoload"
],
"post-update-cmd": [
"composer dump-autoload"
],
"pre-autoload-dump": [
"composer dump-autoload --no-dev --no-scripts",
"SlowProg\\CopyFile\\ScriptHandler::copy",
2019-06-13 10:37:56 +00:00
"sed -i.bak -e 's/\\$baseDir = dirname(\\$vendorDir)/\\$baseDir = __DIR__/g' classmap.php"
2019-06-12 19:47:46 +00:00
]
2019-06-06 16:34:11 +00:00
},
"autoload": {
2019-06-12 12:09:20 +00:00
"classmap": [
"src/Controllers/Version1",
"src/Controllers/Version2",
"src/Controllers/Version3"
],
"psr-4": {
"WooCommerce\\RestApi\\": "src/"
}
2019-06-12 19:47:46 +00:00
},
"extra": {
"copy-file": {
"vendor/composer/autoload_classmap.php": "classmap.php"
},
"copy-file-dev": {
"vendor/composer/autoload_classmap.php": "classmap.php"
}
}
}