-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathcomposer.json
executable file
·77 lines (77 loc) · 3.96 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
{
"name": "apidae-tourisme/apidae-php",
"description": "Apidae API official PHP Client",
"license": "MIT",
"authors": [
{
"name": "Apidae Tourisme",
"email": "[email protected]"
},
{
"name": "Pierre Granger",
"email": "[email protected]"
},
{
"name": "JoliCode",
"email": "[email protected]"
}
],
"require": {
"php": "^8.0",
"guzzlehttp/guzzle-services": "^1.3",
"justinrainbow/json-schema": "^5.2",
"apidae-tourisme/apidae-sit-schemas": "^3.1"
},
"autoload": {
"psr-4": {
"ApidaePHP\\": "src/",
"ApidaePHP\\Tests\\": "tests/"
}
},
"require-dev": {
"phpstan/phpstan": "^1.2",
"phpunit/phpunit": "^9.5",
"symfony/test-pack": "^1.0",
"symfony/framework-bundle": "^6.0"
},
"scripts": {
"phpstan": [
"php vendor/bin/phpstan analyse src --level=4"
],
"tests": [
"php vendor/bin/phpunit tests"
],
"schemadoc": [
"mkdir -p docs/schemas",
"mkdir -p gh-pages/schemas",
"rm -rf docs/schemas",
"rm -rf gh-pages/schemas",
"mkdir -p docs/schemas/reference",
"mkdir -p gh-pages/schemas/reference",
"generate-schema-doc --config no_footer_show_time --config no_copy_js --config no_copy_css --config template_name=md vendor/apidae-tourisme/sit-api-v2-schemas/apiObjetsTouristiquesRequete.schema docs/schemas/touristicobjects.md",
"generate-schema-doc --config no_footer_show_time --config no_copy_js --config no_copy_css --config template_name=md vendor/apidae-tourisme/sit-api-v2-schemas/apiReferentielCommunesRequete.schema docs/schemas/reference/city.md",
"generate-schema-doc --config no_footer_show_time --config no_copy_js --config no_copy_css --config template_name=md vendor/apidae-tourisme/sit-api-v2-schemas/apiReferentielCriteresInternesRequete.schema docs/schemas/reference/internal_criteria.md",
"generate-schema-doc --config no_footer_show_time --config no_copy_js --config no_copy_css --config template_name=md vendor/apidae-tourisme/sit-api-v2-schemas/apiReferentielElementsReferenceRequete.schema docs/schemas/reference/criteria.md",
"generate-schema-doc --config no_footer_show_time --config no_copy_js --config no_copy_css --config template_name=md vendor/apidae-tourisme/sit-api-v2-schemas/apiReferentielSelectionsRequete.schema docs/schemas/reference/selections.md",
"generate-schema-doc --config no_footer_show_time --config expand_buttons vendor/apidae-tourisme/sit-api-v2-schemas/apiObjetsTouristiquesRequete.schema gh-pages/schemas/touristicobjects.html",
"generate-schema-doc --config no_footer_show_time --config expand_buttons vendor/apidae-tourisme/sit-api-v2-schemas/apiReferentielCommunesRequete.schema gh-pages/schemas/reference/city.html",
"generate-schema-doc --config no_footer_show_time --config expand_buttons vendor/apidae-tourisme/sit-api-v2-schemas/apiReferentielCriteresInternesRequete.schema gh-pages/schemas/reference/internal_criteria.html",
"generate-schema-doc --config no_footer_show_time --config expand_buttons vendor/apidae-tourisme/sit-api-v2-schemas/apiReferentielElementsReferenceRequete.schema gh-pages/schemas/reference/criteria.html",
"generate-schema-doc --config no_footer_show_time --config expand_buttons vendor/apidae-tourisme/sit-api-v2-schemas/apiReferentielSelectionsRequete.schema gh-pages/schemas/reference/selections.html"
],
"phpdoc": [
"mkdir -p gh-pages/api",
"php dev/phpdoc.php",
"rm -rf gh-pages/api/*",
"phpDocumentor"
],
"inlinedoc": [
"php dev/methods.php"
]
},
"archive": {
"exclude": [
"/docs"
]
}
}