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-05-19 23:16:50 +00:00
|
|
|
"automattic/jetpack-autoloader": "^1.7.0",
|
2020-01-29 00:28:40 +00:00
|
|
|
"automattic/jetpack-constants": "^1.1",
|
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-01-29 18:48:49 +00:00
|
|
|
"pelago/emogrifier": "^3.1",
|
2020-05-07 17:21:45 +00:00
|
|
|
"woocommerce/action-scheduler": "3.1.6",
|
2020-07-08 16:51:54 +00:00
|
|
|
"woocommerce/woocommerce-admin": "1.3.0",
|
2020-06-16 14:24:40 +00:00
|
|
|
"woocommerce/woocommerce-blocks": "2.7.1",
|
2020-06-16 10:00:37 +00:00
|
|
|
"woocommerce/woocommerce-rest-api": "1.0.10"
|
2016-09-13 21:24:01 +00:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2020-01-16 00:58:45 +00:00
|
|
|
"phpunit/phpunit": "7.5.20",
|
2020-04-09 13:01:24 +00:00
|
|
|
"woocommerce/woocommerce-sniffs": "0.0.10",
|
2020-02-04 20:37:35 +00:00
|
|
|
"wp-cli/i18n-command": "^2.2"
|
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
|
|
|
],
|
|
|
|
"psr-4": {
|
|
|
|
"Automattic\\WooCommerce\\": "src/"
|
|
|
|
}
|
2019-06-21 12:40:34 +00:00
|
|
|
},
|
2020-04-28 22:41:04 +00:00
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
2020-06-03 07:28:54 +00:00
|
|
|
"Automattic\\WooCommerce\\Tests\\": "tests/php/src",
|
|
|
|
"Automattic\\WooCommerce\\Testing\\Tools\\": "tests/Tools"
|
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": [
|
2019-06-24 14:29:26 +00:00
|
|
|
"sh ./bin/package-update.sh"
|
2019-06-21 12:40:34 +00:00
|
|
|
],
|
|
|
|
"post-update-cmd": [
|
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"
|
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"
|
2017-11-29 20:10:54 +00:00
|
|
|
}
|
2016-07-14 14:07:22 +00:00
|
|
|
}
|
|
|
|
}
|