woocommerce/composer.json

44 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",
"woocommerce/woocommerce-sniffs": "0.0.6",
"slowprog/composer-copy-file": "~0.3"
2019-06-12 19:47:46 +00:00
},
"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",
"sed -i.bak -e 's/\\$baseDir = dirname(\\$vendorDir)/\\$baseDir = __DIR__/g' classmap.php",
"rm classmap.php.bak"
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"
]
},
"extra": {
"copy-file": {
"vendor/composer/autoload_classmap.php": "classmap.php"
},
"copy-file-dev": {
"vendor/composer/autoload_classmap.php": "classmap.php"
2019-06-12 19:47:46 +00:00
}
}
}