-
Notifications
You must be signed in to change notification settings - Fork 5
/
composer.json
91 lines (91 loc) · 3.06 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "findologic/libflexport",
"description": "FINDOLOGIC export toolkit for XML and CSV data export",
"homepage": "https://github.com/findologic/libflexport",
"require": {
"php": "^8.1",
"ext-dom": "*",
"ext-mbstring": "*",
"findologic/xml-export-schema": "^v2.2.0"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"squizlabs/php_codesniffer": "^3.7",
"nikic/php-parser": "^4.15"
},
"scripts": {
"lint": "phpcs",
"fix": "phpcbf",
"test": "XDEBUG_MODE=coverage phpunit",
"create-example-folder": "mkdir -p resources/generated_examples",
"test-examples": [
"diff resources/baseline_examples/example.csv resources/generated_examples/example.csv",
"diff resources/baseline_examples/example-variants.csv resources/generated_examples/example-variants.csv",
"diff resources/baseline_examples/example.xml resources/generated_examples/example.xml",
"diff resources/baseline_examples/example-variants.xml resources/generated_examples/example-variants.xml"
],
"generate-csv": [
"@create-example-folder",
"php examples/CsvExample.php > resources/generated_examples/example.csv"
],
"generate-csv-variants": [
"@create-example-folder",
"php examples/CsvVariantsExample.php > resources/generated_examples/example-variants.csv"
],
"generate-xml": [
"@create-example-folder",
"php examples/XmlExample.php | xmlstarlet fo > resources/generated_examples/example.xml"
],
"generate-xml-variants": [
"@create-example-folder",
"php examples/XmlVariantsExample.php | xmlstarlet fo > resources/generated_examples/example-variants.xml"
],
"generate-examples": [
"@create-example-folder",
"@generate-csv",
"@generate-csv-variants",
"@generate-xml",
"@generate-xml-variants"
]
},
"license": "MIT",
"authors": [
{
"name": "Chris Ortner",
"email": "[email protected]",
"role": "maintainer"
},
{
"name": "Markus Machatschek",
"email": "[email protected]",
"role": "developer"
},
{
"name": "Dominik Brader",
"email": "[email protected]",
"role": "developer"
},
{
"name": "Mohamad Assani",
"email": "[email protected]",
"role": "developer"
},
{
"name": "Huzaifa Mustafa",
"email": "[email protected]",
"role": "developer"
}
],
"autoload": {
"psr-4": {
"FINDOLOGIC\\Export\\": "src",
"FINDOLOGIC\\Export\\Examples\\": "examples"
}
},
"autoload-dev": {
"psr-4": {
"FINDOLOGIC\\Export\\Tests\\": "tests"
}
},
"prefer-stable": true
}