2016-07-14 14:07:22 +00:00
|
|
|
{
|
2016-07-14 14:09:57 +00:00
|
|
|
"name": "woocommerce/woocommerce",
|
2017-12-19 14:12:07 +00:00
|
|
|
"description": "An eCommerce toolkit that helps you sell anything. Beautifully.",
|
2016-07-14 14:07:22 +00:00
|
|
|
"homepage": "https://woocommerce.com/",
|
|
|
|
"type": "wordpress-plugin",
|
2018-01-24 16:13:45 +00:00
|
|
|
"license": "GPL-3.0-or-later",
|
2018-02-02 13:20:16 +00:00
|
|
|
"prefer-stable": true,
|
|
|
|
"minimum-stability": "dev",
|
2016-07-14 14:07:22 +00:00
|
|
|
"require": {
|
2020-04-07 00:07:33 +00:00
|
|
|
"php": ">=7.0",
|
2020-08-17 18:32:45 +00:00
|
|
|
"automattic/jetpack-autoloader": "2.2.0",
|
2020-08-05 21:19:43 +00:00
|
|
|
"automattic/jetpack-constants": "1.4.0",
|
2019-10-01 13:30:08 +00:00
|
|
|
"composer/installers": "1.7.0",
|
2020-01-07 23:25:58 +00:00
|
|
|
"maxmind-db/reader": "1.6.0",
|
2020-08-05 21:19:43 +00:00
|
|
|
"pelago/emogrifier": "3.1.0",
|
2020-09-05 13:43:24 +00:00
|
|
|
"psr/container": "1.0.0",
|
2020-05-07 17:21:45 +00:00
|
|
|
"woocommerce/action-scheduler": "3.1.6",
|
2020-10-09 21:15:42 +00:00
|
|
|
"woocommerce/woocommerce-admin": "1.6.0",
|
2020-09-21 14:20:18 +00:00
|
|
|
"woocommerce/woocommerce-blocks": "3.4.0",
|
|
|
|
"league/container": "3.3.1"
|
2016-09-13 21:24:01 +00:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2020-09-22 18:55:24 +00:00
|
|
|
"bamarni/composer-bin-plugin": "^1.4"
|
2016-09-13 21:24:01 +00:00
|
|
|
},
|
2019-06-21 12:40:34 +00:00
|
|
|
"config": {
|
2019-07-10 20:34:41 +00:00
|
|
|
"platform": {
|
2019-07-19 01:02:58 +00:00
|
|
|
"php": "7.1"
|
2019-07-10 20:34:41 +00:00
|
|
|
},
|
2019-06-21 12:40:34 +00:00
|
|
|
"preferred-install": {
|
2020-01-31 14:13:50 +00:00
|
|
|
"woocommerce/action-scheduler": "dist",
|
2019-06-21 12:40:34 +00:00
|
|
|
"woocommerce/woocommerce-rest-api": "dist",
|
|
|
|
"woocommerce/woocommerce-blocks": "dist"
|
2019-07-10 20:34:41 +00:00
|
|
|
},
|
|
|
|
"sort-packages": true
|
2019-06-21 12:40:34 +00:00
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"exclude-from-classmap": [
|
|
|
|
"includes/legacy",
|
|
|
|
"includes/libraries"
|
2019-06-25 12:12:02 +00:00
|
|
|
],
|
2020-07-22 19:34:43 +00:00
|
|
|
"classmap": [
|
2020-07-29 18:42:18 +00:00
|
|
|
"includes/rest-api"
|
2020-07-22 19:34:43 +00:00
|
|
|
],
|
2019-06-25 12:12:02 +00:00
|
|
|
"psr-4": {
|
2020-09-21 14:20:18 +00:00
|
|
|
"Automattic\\WooCommerce\\": "src/",
|
|
|
|
"Automattic\\WooCommerce\\Vendor\\League\\Container\\": "vendor/league/container/"
|
2019-06-25 12:12:02 +00:00
|
|
|
}
|
2019-06-21 12:40:34 +00:00
|
|
|
},
|
2020-04-28 22:41:04 +00:00
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
2020-07-15 14:08:09 +00:00
|
|
|
"Automattic\\WooCommerce\\Tests\\": "tests/php/src/",
|
|
|
|
"Automattic\\WooCommerce\\Testing\\Tools\\": "tests/Tools/"
|
2020-07-27 11:56:04 +00:00
|
|
|
},
|
|
|
|
"classmap": [
|
2020-07-29 18:42:18 +00:00
|
|
|
"tests/legacy/unit-tests/rest-api/Helpers"
|
2020-07-27 11:56:04 +00:00
|
|
|
]
|
2020-04-28 22:41:04 +00:00
|
|
|
},
|
2016-09-13 21:24:01 +00:00
|
|
|
"scripts": {
|
2019-06-21 12:40:34 +00:00
|
|
|
"post-install-cmd": [
|
2020-08-19 00:03:55 +00:00
|
|
|
"@composer bin all install --ansi",
|
2020-09-21 14:20:18 +00:00
|
|
|
"sh ./bin/prefix-vendor-namespaces.sh",
|
2019-06-24 14:29:26 +00:00
|
|
|
"sh ./bin/package-update.sh"
|
2019-06-21 12:40:34 +00:00
|
|
|
],
|
|
|
|
"post-update-cmd": [
|
2020-08-19 00:03:55 +00:00
|
|
|
"@composer bin all update --ansi",
|
2020-09-21 14:20:18 +00:00
|
|
|
"sh ./bin/prefix-vendor-namespaces.sh",
|
2019-07-08 18:19:48 +00:00
|
|
|
"sh ./bin/package-update.sh"
|
2019-06-21 12:40:34 +00:00
|
|
|
],
|
2017-11-29 20:10:54 +00:00
|
|
|
"test": [
|
|
|
|
"phpunit"
|
|
|
|
],
|
|
|
|
"phpcs": [
|
2017-12-18 13:49:44 +00:00
|
|
|
"phpcs -s -p"
|
2017-11-29 20:10:54 +00:00
|
|
|
],
|
2019-01-14 20:04:44 +00:00
|
|
|
"phpcs-pre-commit": [
|
|
|
|
"phpcs -s -p -n"
|
|
|
|
],
|
2017-11-29 20:10:54 +00:00
|
|
|
"phpcbf": [
|
2017-12-18 13:49:44 +00:00
|
|
|
"phpcbf -p"
|
2020-02-04 20:37:35 +00:00
|
|
|
],
|
|
|
|
"makepot-audit": [
|
2020-04-27 23:08:08 +00:00
|
|
|
"wp --allow-root i18n make-pot . --exclude=\".github,.wordpress-org,bin,sample-data,node_modules,tests\" --slug=woocommerce"
|
2020-02-04 20:37:35 +00:00
|
|
|
],
|
|
|
|
"makepot": [
|
|
|
|
"@makepot-audit --skip-audit"
|
2020-10-09 06:21:57 +00:00
|
|
|
],
|
|
|
|
"bin": [
|
|
|
|
"echo 'bin not installed'"
|
2016-09-13 21:24:01 +00:00
|
|
|
]
|
2017-11-29 20:10:54 +00:00
|
|
|
},
|
|
|
|
"extra": {
|
2019-06-21 12:40:34 +00:00
|
|
|
"installer-paths": {
|
2020-01-15 14:31:04 +00:00
|
|
|
"packages/action-scheduler": ["woocommerce/action-scheduler"],
|
2019-06-24 11:40:20 +00:00
|
|
|
"packages/woocommerce-rest-api": ["woocommerce/woocommerce-rest-api"],
|
2019-11-11 02:08:02 +00:00
|
|
|
"packages/woocommerce-blocks": ["woocommerce/woocommerce-blocks"],
|
|
|
|
"packages/woocommerce-admin": ["woocommerce/woocommerce-admin"]
|
2019-06-21 12:40:34 +00:00
|
|
|
},
|
2017-11-29 20:10:54 +00:00
|
|
|
"scripts-description": {
|
|
|
|
"test": "Run unit tests",
|
|
|
|
"phpcs": "Analyze code against the WordPress coding standards with PHP_CodeSniffer",
|
2020-02-04 20:44:20 +00:00
|
|
|
"phpcbf": "Fix coding standards warnings/errors automatically with PHP Code Beautifier",
|
2020-06-21 11:26:51 +00:00
|
|
|
"makepot-audit": "Generate i18n/languages/woocommerce.pot file and run audit",
|
|
|
|
"makepot": "Generate i18n/languages/woocommerce.pot file"
|
2020-08-19 00:03:55 +00:00
|
|
|
},
|
|
|
|
"bamarni-bin": {
|
|
|
|
"target-directory": "bin/composer"
|
2017-11-29 20:10:54 +00:00
|
|
|
}
|
2016-07-14 14:07:22 +00:00
|
|
|
}
|
|
|
|
}
|