2019-03-13 12:31:37 -04:00
|
|
|
{
|
2019-05-24 19:22:06 -04:00
|
|
|
"name": "wp-graphql/wp-graphql-woocommerce",
|
2019-11-13 21:18:59 -05:00
|
|
|
"description": "WooCommerce bindings for WPGraphQL",
|
2019-03-13 12:31:37 -04:00
|
|
|
"type": "wordpress-plugin",
|
2019-05-30 14:19:03 -04:00
|
|
|
"keywords": [
|
|
|
|
|
"wordpress",
|
|
|
|
|
"woocommerce",
|
|
|
|
|
"graphql",
|
|
|
|
|
"wp-graphql",
|
|
|
|
|
"wp-graphql-extension",
|
|
|
|
|
"woocommerce-extension",
|
|
|
|
|
"api",
|
|
|
|
|
"woographql"
|
|
|
|
|
],
|
2019-12-23 09:54:35 -07:00
|
|
|
"license": "GPL-3.0-or-later",
|
2019-03-13 12:31:37 -04:00
|
|
|
"authors": [
|
|
|
|
|
{
|
2019-09-29 15:11:02 -04:00
|
|
|
"name": "Geoff Taylor",
|
2019-03-21 21:43:24 -04:00
|
|
|
"email": "kidunot89@gmail.com",
|
|
|
|
|
"role": "Lead developer"
|
2019-03-13 12:31:37 -04:00
|
|
|
}
|
|
|
|
|
],
|
2019-07-25 14:38:30 -04:00
|
|
|
"require": {
|
2023-11-30 15:41:32 +02:00
|
|
|
"php": ">=7.3",
|
2026-03-17 23:49:48 -04:00
|
|
|
"firebase/php-jwt": "^7.0.0"
|
2019-07-25 14:38:30 -04:00
|
|
|
},
|
2019-03-13 12:31:37 -04:00
|
|
|
"require-dev": {
|
2023-11-30 15:41:32 +02:00
|
|
|
"axepress/wp-graphql-cs": "^2.0.0-beta",
|
2024-08-06 18:07:37 -04:00
|
|
|
"axepress/wp-graphql-stubs": "^1.27.1",
|
2024-11-06 19:23:36 -05:00
|
|
|
"brainmaestro/composer-git-hooks": "^2.8.5",
|
2024-08-06 18:07:37 -04:00
|
|
|
"php-stubs/woocommerce-stubs": "9.1.0",
|
2023-06-13 23:17:02 +03:00
|
|
|
"phpstan/extension-installer": "^1.3",
|
2023-08-02 23:54:46 +03:00
|
|
|
"phpstan/phpdoc-parser": "^1.22.0",
|
2023-06-13 23:17:02 +03:00
|
|
|
"phpstan/phpstan": "^1.10",
|
2023-07-20 00:11:25 +03:00
|
|
|
"szepeviktor/phpstan-wordpress": "^1.3"
|
2019-03-13 12:31:37 -04:00
|
|
|
},
|
|
|
|
|
"config": {
|
2020-10-14 20:33:55 -04:00
|
|
|
"optimize-autoloader": true,
|
2020-10-22 15:59:11 -04:00
|
|
|
"process-timeout": 0,
|
2022-02-04 15:00:44 -05:00
|
|
|
"sort-packages": true,
|
|
|
|
|
"allow-plugins": {
|
2023-03-29 13:18:06 -04:00
|
|
|
"johnpbloch/wordpress-core-installer": true,
|
2023-05-22 13:43:10 -04:00
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": true,
|
2024-11-06 11:34:09 -05:00
|
|
|
"phpstan/extension-installer": true
|
2022-02-04 15:00:44 -05:00
|
|
|
}
|
2019-03-13 12:31:37 -04:00
|
|
|
},
|
2023-08-02 23:54:46 +03:00
|
|
|
"autoload": {
|
|
|
|
|
"classmap": [
|
2023-08-03 17:02:54 -04:00
|
|
|
"vendor-prefixed/"
|
2023-08-02 23:54:46 +03:00
|
|
|
]
|
|
|
|
|
},
|
2020-04-08 16:35:03 -04:00
|
|
|
"autoload-dev": {
|
2020-07-17 20:51:44 -04:00
|
|
|
"psr-4": {
|
2023-02-01 14:57:46 -05:00
|
|
|
"Tests\\WPGraphQL\\WooCommerce\\": "tests/_support/"
|
2020-07-17 20:51:44 -04:00
|
|
|
}
|
2020-04-08 16:35:03 -04:00
|
|
|
},
|
2019-03-22 16:36:34 -04:00
|
|
|
"scripts": {
|
2021-07-05 13:51:52 -04:00
|
|
|
"installTestEnv": "bash bin/install-test-env.local.sh",
|
2023-01-24 17:21:16 -05:00
|
|
|
"runPreCommitCleanup": "bash bin/cleanup.local.sh",
|
2021-02-17 13:53:59 -05:00
|
|
|
"runWPUnitTest": "vendor/bin/codecept run wpunit",
|
2023-08-02 23:54:46 +03:00
|
|
|
"dBuild": "env $(sed -e '/^#/d' .env.testing) docker compose build",
|
|
|
|
|
"dRunApp": "env $(sed -e '/^#/d' .env.testing) docker compose up testable_app app_db mailhog",
|
|
|
|
|
"dRunTestingDb": "if [ ! \"$(docker ps -a | grep testing_db)\" ]; then env $(sed -e '/^#/d' .env.testing) docker compose up -d testing_db; fi",
|
|
|
|
|
"dSetMainDb": "docker compose exec testable_app ./setup-database.sh main",
|
|
|
|
|
"dSetTestingDb": "docker compose exec testable_app wait-for-it -s -t 300 testing_db:3306 -- ./setup-database.sh testing",
|
2021-01-08 17:00:48 -05:00
|
|
|
"dRunTest": [
|
|
|
|
|
"@dRunTestingDb",
|
|
|
|
|
"@dSetTestingDb",
|
2023-08-02 23:54:46 +03:00
|
|
|
"docker compose exec testable_app wait-for-it -s -t 300 testing_db:3306 -- codecept run $FILTER"
|
2020-10-01 01:45:26 -04:00
|
|
|
],
|
2023-08-02 23:54:46 +03:00
|
|
|
"dRunTestStandalone": "env $(sed -e '/^#/d' .env.testing) docker compose run --rm run_tests",
|
|
|
|
|
"dDestroy": "docker compose down -v",
|
2023-02-01 14:57:46 -05:00
|
|
|
"lint": "vendor/bin/phpcs -vp .",
|
2023-06-13 23:17:02 +03:00
|
|
|
"fix": "vendor/bin/phpcbf -vp .",
|
2025-11-15 19:02:41 -05:00
|
|
|
"stan": "phpstan analyze --ansi --memory-limit=4G",
|
2023-08-02 23:54:46 +03:00
|
|
|
"strauss": [
|
|
|
|
|
"test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/download/0.14.0/strauss.phar",
|
2026-06-11 20:02:26 -04:00
|
|
|
"env -u COMPOSER_AUTH COMPOSER_HOME=$(mktemp -d) php bin/strauss.phar",
|
2023-08-02 23:54:46 +03:00
|
|
|
"composer dump-autoload --optimize"
|
|
|
|
|
],
|
2024-12-09 18:40:23 -05:00
|
|
|
"cghooks": [
|
|
|
|
|
"echo 'Installing git hooks'",
|
|
|
|
|
"vendor/bin/cghooks"
|
|
|
|
|
],
|
2023-08-02 23:54:46 +03:00
|
|
|
"post-install-cmd": [
|
2024-11-06 11:34:09 -05:00
|
|
|
"@strauss",
|
2024-12-09 18:40:23 -05:00
|
|
|
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer cghooks add -i"
|
2023-08-02 23:54:46 +03:00
|
|
|
],
|
|
|
|
|
"post-update-cmd": [
|
2024-11-06 11:34:09 -05:00
|
|
|
"@strauss",
|
2024-12-09 18:40:23 -05:00
|
|
|
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer cghooks update"
|
2023-08-02 23:54:46 +03:00
|
|
|
]
|
2019-03-21 21:43:24 -04:00
|
|
|
},
|
2020-09-01 16:12:01 -04:00
|
|
|
"support": {
|
|
|
|
|
"issues": "https://github.com/wp-graphql/wp-graphql-woocommerce/issues",
|
|
|
|
|
"source": "https://github.com/wp-graphql/wp-graphql-woocommerce"
|
2021-07-05 16:23:59 -04:00
|
|
|
},
|
|
|
|
|
"archive": {
|
2023-02-01 14:57:46 -05:00
|
|
|
"name": "wp-graphql-wooocommerce",
|
|
|
|
|
"exclude": [
|
|
|
|
|
"/.*",
|
|
|
|
|
"/bin",
|
|
|
|
|
"/docs",
|
|
|
|
|
"/local",
|
|
|
|
|
"/plugin-build",
|
2023-06-13 23:17:02 +03:00
|
|
|
"/phpstan",
|
2023-02-01 14:57:46 -05:00
|
|
|
"/tests",
|
|
|
|
|
"/codeception.dist.yml",
|
|
|
|
|
"/codeception.yml",
|
2023-06-13 23:17:02 +03:00
|
|
|
"/codeclimate.yml",
|
2023-02-01 14:57:46 -05:00
|
|
|
"/docker-compose.yml",
|
|
|
|
|
"/Dockerfile",
|
|
|
|
|
"/netlify.toml",
|
2023-06-13 23:17:02 +03:00
|
|
|
"/README.md",
|
|
|
|
|
"/phpstan.neon.dist"
|
2023-02-01 14:57:46 -05:00
|
|
|
]
|
2023-08-02 23:54:46 +03:00
|
|
|
},
|
|
|
|
|
"extra": {
|
|
|
|
|
"strauss" : {
|
2023-08-03 17:02:54 -04:00
|
|
|
"target_directory": "vendor-prefixed",
|
2023-08-02 23:54:46 +03:00
|
|
|
"namespace_prefix": "WPGraphQL\\WooCommerce\\Vendor\\",
|
|
|
|
|
"classmap_prefix": "WP_GraphQL_WooCommerce_Vendor",
|
|
|
|
|
"constant_prefix": "WPGRAPHQL_WOOCOMMERCE_VENDOR",
|
|
|
|
|
"delete_vendor_files": true,
|
|
|
|
|
"include_modified_date": false,
|
|
|
|
|
"packages" : [
|
|
|
|
|
"firebase/php-jwt"
|
|
|
|
|
],
|
|
|
|
|
"exclude_from_prefix": {
|
|
|
|
|
"file_patterns": []
|
|
|
|
|
}
|
2024-11-06 11:34:09 -05:00
|
|
|
},
|
|
|
|
|
"hooks": {
|
|
|
|
|
"pre-commit": [
|
|
|
|
|
"composer runPreCommitCleanup"
|
|
|
|
|
],
|
|
|
|
|
"post-merge": [
|
|
|
|
|
"composer install"
|
|
|
|
|
]
|
2023-08-02 23:54:46 +03:00
|
|
|
}
|
2020-09-01 16:12:01 -04:00
|
|
|
}
|
2019-03-13 12:31:37 -04:00
|
|
|
}
|