8
0
graphql-module-skeleton/composer.json

62 Zeilen
1.9 KiB
JSON

2019-11-27 11:20:24 +01:00
{
2020-07-03 14:28:02 +02:00
"name": "oxid-esales/graphql-module-skeleton",
"description": "OXID eSales GraphQL module skeleton",
"type": "oxideshop-module",
"keywords": ["oxid", "modules", "eShop", "GraphQL"],
"license": ["GPL-3.0"],
"extra": {
"oxideshop": {
"target-directory": "oe/graphql-module",
"blacklist-filter": [
"src/**/*.php",
"tests/**/*.php"
]
}
},
"require": {
"php": "^7.1",
"oxid-esales/graphql-base": "^3.1.3"
2020-07-03 14:28:02 +02:00
},
"require-dev": {
"phpunit/phpunit": "^7.5.20|^8.5|^9",
"friendsofphp/php-cs-fixer": "^2.16.4",
"php-parallel-lint/php-parallel-lint": "^1.1",
"phpstan/phpstan": "^0.12.26",
2020-07-03 14:28:02 +02:00
"oxid-esales/oxideshop-ce": "^6.5",
"oxid-esales/oxideshop-unified-namespace-generator": "^2.0"
2020-07-03 14:28:02 +02:00
},
"autoload": {
"psr-4": {
"OxidEsales\\GraphQL\\Skeleton\\": "src",
2020-07-03 14:28:02 +02:00
"OxidEslaes\\GraphQL\\Skeleton\\Tests\\": "tests"
}
},
"scripts": {
"pre-install-cmd": [
"OxidEsales\\GraphQL\\Skeleton\\Installer::preInstall"
],
"pre-update-cmd": [
"OxidEsales\\GraphQL\\Skeleton\\Installer::preInstall"
],
"post-create-project-cmd": [
"OxidEsales\\GraphQL\\Skeleton\\Installer::postInstall",
"composer update",
"@fix"
],
"fix:fixer": "php-cs-fixer fix",
"fix": [
"@fix:fixer"
],
"test:lint": "php-cs-fixer fix --dry-run",
"test:syntax": "parallel-lint src/ tests/ metadata.php",
2020-07-03 14:28:02 +02:00
"test:static": "phpstan analyse src/",
"test:unit": "phpunit -c tests/phpunit.xml tests/Unit/",
"test": [
"@test:syntax",
"@test:lint",
"@test:static",
"@test:unit"
]
2019-11-27 11:20:24 +01:00
}
}