forked from Naugrimm/bmecat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
45 lines (45 loc) · 1.94 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
{
"name": "loeffelhardt/el-bmecat",
"type": "library",
"description": "Allows to build BMEcat documents from PHP and converts them to xml",
"keywords": ["bmecat", "document", "serialization", "xml"],
"homepage": "https://github.com/loeffelhardt/el-bmecat",
"license": "MIT",
"authors": [
{
"name": "Giovanni Piemontese",
"email": "giovanni.piemontese@loeffelhardt.de"
}
],
"require": {
"php": "^7.3|^8.0",
"ext-dom": "*",
"ext-libxml": "*",
"jms/serializer": "^3.4",
"symfony/expression-language": "^5.0"
},
"autoload": {
"psr-4": {
"Naugrim\\BMEcat\\Tests\\": "tests/",
"Naugrim\\BMEcat\\": "src/"
}
},
"scripts": {
"phpcs": "test -f ./tools/phpcompatibility/vendor/bin/phpcs || composer --working-dir=tools/phpcompatibility install && php -dmemory_limit=2G ./tools/phpcompatibility/vendor/bin/phpcs --runtime-set testVersion 7.4- --standard=./tools/phpcompatibility/vendor/phpcompatibility/php-compatibility/PHPCompatibility --ignore=\"vendor/*,node_modules/*,tools/*,css/*,js/*,public/*,resources/views/*\"",
"fix-dry": [
"test -f ./tools/php-cs-fixer/vendor/bin/php-cs-fixer || composer --working-dir=tools/php-cs-fixer install && ./tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run -- "
],
"fix": [
"test -f ./tools/php-cs-fixer/vendor/bin/php-cs-fixer || composer --working-dir=tools/php-cs-fixer install && ./tools/php-cs-fixer/vendor/bin/php-cs-fixer fix -- "
],
"rector": [
"test -f ./tools/rector/vendor/bin/rector || composer --working-dir=tools/rector install && ./tools/rector/vendor/bin/rector --autoload-file=vendor/autoload.php "
],
"phpunit": [
"@php -dxdebug.mode=coverage vendor/bin/phpunit"
]
},
"require-dev": {
"phpunit/phpunit": "^9.0"
}
}