woocommerce/composer.json

121 lines
3.1 KiB
JSON
Raw Normal View History

2016-07-14 14:07:22 +00:00
{
2016-07-14 14:09:57 +00:00
"name": "woocommerce/woocommerce",
"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",
"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-02-08 18:43:48 +00:00
"automattic/jetpack-autoloader": "2.9.1",
"automattic/jetpack-constants": "1.5.1",
"composer/installers": "~1.7",
"maxmind-db/reader": "1.6.0",
"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",
"woocommerce/woocommerce-admin": "2.1.4",
2021-03-17 11:10:01 +00:00
"woocommerce/woocommerce-blocks": "4.7.0"
2016-09-13 21:24:01 +00:00
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.4"
2016-09-13 21:24:01 +00:00
},
"config": {
"optimize-autoloader": true,
"platform": {
"php": "7.0"
},
"preferred-install": {
2020-01-31 14:13:50 +00:00
"woocommerce/action-scheduler": "dist",
"woocommerce/woocommerce-rest-api": "dist",
"woocommerce/woocommerce-blocks": "dist"
},
"sort-packages": true
},
"autoload": {
"exclude-from-classmap": [
"includes/legacy",
"includes/libraries"
2019-06-25 12:12:02 +00:00
],
"classmap": [
"includes/rest-api"
],
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
}
},
"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/"
},
"classmap": [
"tests/legacy/unit-tests/rest-api/Helpers"
]
},
2016-09-13 21:24:01 +00:00
"scripts": {
"post-install-cmd": [
"@composer bin all install --ansi",
"sh ./bin/package-update.sh"
],
"post-update-cmd": [
"@composer bin all update --ansi",
"sh ./bin/package-update.sh"
],
"test": [
"phpunit"
],
"phpcs": [
"phpcs -s -p"
],
"phpcs-pre-commit": [
"phpcs -s -p -n"
],
"phpcbf": [
"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"
],
"bin": [
"echo 'bin not installed'"
],
"build-lib": [
"sh ./bin/build-lib.sh"
2016-09-13 21:24:01 +00:00
]
},
"extra": {
"installer-paths": {
2020-11-23 21:09:57 +00:00
"packages/{$name}": [
"woocommerce/action-scheduler",
"woocommerce/woocommerce-blocks",
"woocommerce/woocommerce-admin"
]
},
"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"
},
"bamarni-bin": {
"target-directory": "bin/composer"
}
2016-07-14 14:07:22 +00:00
}
}