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",
|
2020-11-18 21:54:20 +00:00
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "path",
|
|
|
|
"url": "lib"
|
|
|
|
}
|
|
|
|
],
|
2016-07-14 14:07:22 +00:00
|
|
|
"require": {
|
2020-04-07 00:07:33 +00:00
|
|
|
"php": ">=7.0",
|
2021-03-30 16:19:44 +00:00
|
|
|
"automattic/jetpack-autoloader": "2.10.1",
|
2020-11-25 11:10:58 +00:00
|
|
|
"automattic/jetpack-constants": "1.5.1",
|
2020-11-11 21:45:51 +00:00
|
|
|
"composer/installers": "~1.7",
|
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",
|
2021-06-22 06:12:48 +00:00
|
|
|
"woocommerce/action-scheduler": "3.2.1",
|
2021-08-19 16:34:29 +00:00
|
|
|
"woocommerce/woocommerce-admin": "2.6.0-rc.2",
|
2021-08-30 18:02:25 +00:00
|
|
|
"woocommerce/woocommerce-blocks": "5.7.1"
|
2016-09-13 21:24:01 +00:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2021-08-10 20:04:17 +00:00
|
|
|
"bamarni/composer-bin-plugin": "^1.4",
|
|
|
|
"yoast/phpunit-polyfills": "^1.0"
|
2016-09-13 21:24:01 +00:00
|
|
|
},
|
2019-06-21 12:40:34 +00:00
|
|
|
"config": {
|
2020-12-14 17:35:54 +00:00
|
|
|
"optimize-autoloader": true,
|
2019-07-10 20:34:41 +00:00
|
|
|
"platform": {
|
2020-11-12 20:25:52 +00:00
|
|
|
"php": "7.0"
|
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-11-18 23:38:05 +00:00
|
|
|
"Automattic\\WooCommerce\\": "src/",
|
|
|
|
"Automattic\\WooCommerce\\Vendor\\": "lib/packages/"
|
|
|
|
},
|
|
|
|
"psr-0": {
|
|
|
|
"Automattic\\WooCommerce\\Vendor\\": "lib/packages/"
|
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/",
|
2020-11-18 23:38:05 +00:00
|
|
|
"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",
|
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",
|
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'"
|
2020-11-05 16:19:14 +00:00
|
|
|
],
|
2020-11-18 21:54:20 +00:00
|
|
|
"build-lib": [
|
|
|
|
"sh ./bin/build-lib.sh"
|
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-11-23 21:09:57 +00:00
|
|
|
"packages/{$name}": [
|
|
|
|
"woocommerce/action-scheduler",
|
|
|
|
"woocommerce/woocommerce-blocks",
|
|
|
|
"woocommerce/woocommerce-admin"
|
2020-11-11 21:45:51 +00:00
|
|
|
]
|
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
|
|
|
}
|
|
|
|
}
|