graphql-module-skeleton/composer.json

62 regels
1.6 KiB
JSON

2019-11-27 11:20:24 +01: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": "^1.2"
},
"require-dev": {
"phpunit/phpunit": "^7.5",
"squizlabs/php_codesniffer": "^3.5.1",
"jakub-onderka/php-parallel-lint": "^1.0",
"phpstan/phpstan": "^0.12",
"oxid-esales/oxideshop-ce": "6.5",
"oxid-esales/oxideshop-unified-namespace-generator": "^2.0"
},
"autoload": {
"psr-4": {
"OxidEsales\\GraphQL\\Skeleton\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"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": "phpcbf --standard=PSR12 --extensions=php -p src/ tests/",
"test:lint": "phpcs --standard=PSR12 --extensions=php -p src/ tests/",
"test:syntax": "parallel-lint src/",
"test:static": "phpstan analyse src/",
"test:unit": "phpunit -c tests/phpunit.xml tests/Unit/",
"test": [
"@test:lint",
"@test:syntax",
"@test:static",
"@test:unit"
]
}
}