forked from OXID-eSales/graphql-example-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
56 lines (56 loc) · 1.45 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "oxid-esales/graphql-example",
"description": "OXID eSales GraphQL example module",
"type": "oxideshop-module",
"keywords": ["oxid", "modules", "eShop", "GraphQL"],
"homepage": "https://www.oxid-esales.com",
"license": "GPL-3.0",
"extra": {
"oxideshop": {
"target-directory": "oe/graphql-example",
"blacklist-filter": [
"src/**/*.php",
"tests/**/*.php"
]
}
},
"require": {
"php": "^7.1",
"oxid-esales/graphql-base": "^2.2.0"
},
"require-dev": {
"phpunit/phpunit": "~7.5",
"squizlabs/php_codesniffer": "^3.5.2",
"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",
"friendsofphp/php-cs-fixer": "^2.16"
},
"autoload": {
"psr-4": {
"OxidEsales\\GraphQL\\Example\\": "src",
"OxidEsales\\GraphQL\\Example\\Tests\\": "tests"
}
},
"scripts": {
"fix:cbf": "phpcbf",
"fix:fixer": "php-cs-fixer fix",
"fix": [
"@fix:cbf",
"@fix:fixer"
],
"test:syntax": "parallel-lint src/",
"test:lint": "phpcs",
"test:lint-fixer": "php-cs-fixer fix --dry-run",
"test:static": "phpstan analyse src/",
"test:unit": "phpunit -c tests/phpunit.xml tests/Unit/",
"test": [
"@test:syntax",
"@test:lint",
"@test:lint-fixer",
"@test:static",
"@test:unit"
]
}
}