62 Zeilen
1.9 KiB
JSON
62 Zeilen
1.9 KiB
JSON
{
|
|
"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"
|
|
},
|
|
"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",
|
|
"oxid-esales/oxideshop-ce": "^6.5",
|
|
"oxid-esales/oxideshop-unified-namespace-generator": "^2.0"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"OxidEsales\\GraphQL\\Skeleton\\": "src",
|
|
"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",
|
|
"test:static": "phpstan analyse src/",
|
|
"test:unit": "phpunit -c tests/phpunit.xml tests/Unit/",
|
|
"test": [
|
|
"@test:syntax",
|
|
"@test:lint",
|
|
"@test:static",
|
|
"@test:unit"
|
|
]
|
|
}
|
|
}
|