woocommerce/composer.json

100 lines
2.8 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",
2016-07-14 14:07:22 +00:00
"require": {
2020-04-07 00:07:33 +00:00
"php": ">=7.0",
"automattic/jetpack-autoloader": "2.2.0",
"automattic/jetpack-constants": "1.4.0",
"composer/installers": "1.7.0",
"maxmind-db/reader": "1.6.0",
"pelago/emogrifier": "3.1.0",
"psr/container": "^1.0",
2020-05-07 17:21:45 +00:00
"woocommerce/action-scheduler": "3.1.6",
2020-09-02 21:33:26 +00:00
"woocommerce/woocommerce-admin": "1.5.0-rc.4",
"woocommerce/woocommerce-blocks": "3.1.0"
2016-09-13 21:24:01 +00:00
},
"require-dev": {
"phpunit/phpunit": "7.5.20",
"woocommerce/woocommerce-sniffs": "^0.1.0",
2020-02-04 20:37:35 +00:00
"wp-cli/i18n-command": "^2.2"
2016-09-13 21:24:01 +00:00
},
"config": {
"platform": {
2019-07-19 01:02:58 +00:00
"php": "7.1"
},
"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": {
"Automattic\\WooCommerce\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
2020-07-15 14:08:09 +00:00
"Automattic\\WooCommerce\\Tests\\": "tests/php/src/",
"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": [
"sh ./bin/package-update.sh"
],
"post-update-cmd": [
"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"
2016-09-13 21:24:01 +00:00
]
},
"extra": {
"installer-paths": {
"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"]
},
"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"
}
2016-07-14 14:07:22 +00:00
}
}