-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
146 lines (146 loc) · 4.04 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "cpsit/project-builder",
"description": "Composer package to create new projects from project templates",
"license": "GPL-3.0-or-later",
"type": "library",
"authors": [
{
"name": "Elias Häußler",
"email": "[email protected]",
"role": "Maintainer"
},
{
"name": "Martin Adler",
"email": "[email protected]",
"role": "Developer"
}
],
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"ext-filter": "*",
"ext-json": "*",
"ext-mbstring": "*",
"composer-runtime-api": "^2.1",
"cocur/slugify": "^4.1",
"cuyz/valinor": "^1.0",
"guzzlehttp/guzzle": "^7.0",
"nyholm/psr7": "^1.5",
"opis/json-schema": "^2.3",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0 || ^2.0",
"sebastianfeldmann/cli": "^3.4",
"symfony/config": "^5.4 || ^6.0 || ^7.0",
"symfony/console": "^5.4 || ^6.0 || ^7.0",
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
"symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0",
"symfony/expression-language": "^5.4 || ^6.0 || ^7.0",
"symfony/filesystem": "^5.4 || ^6.0 || ^7.0",
"symfony/finder": "^5.4 || ^6.0 || ^7.0",
"symfony/process": "^5.4 || ^6.0 || ^7.0",
"symfony/yaml": "^5.4 || ^6.0 || ^7.0",
"twig/twig": "^3.3.3",
"webmozart/assert": "^1.11"
},
"require-dev": {
"armin/editorconfig-cli": "^1.6 || ^2.0",
"composer/composer": "~2.2.13 || ^2.3.6",
"composer/semver": "^3.0",
"composer/xdebug-handler": "^3.0",
"cpsit/php-cs-fixer-config": "^1.1",
"donatj/mock-webserver": "^2.5",
"eliashaeussler/version-bumper": "^1.2",
"ergebnis/composer-normalize": "^2.26",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan": "^1.9",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpstan/phpstan-phpunit": "^1.1",
"phpstan/phpstan-strict-rules": "^1.2",
"phpstan/phpstan-symfony": "^1.2",
"phpstan/phpstan-webmozart-assert": "^1.2",
"phpunit/phpunit": "^10.1 || ^11.0",
"rector/rector": "^1.0.0",
"seld/jsonlint": "^1.9"
},
"autoload": {
"psr-4": {
"CPSIT\\ProjectBuilder\\": [
"src/",
".build/src/"
]
}
},
"autoload-dev": {
"psr-4": {
"CPSIT\\ProjectBuilder\\Tests\\": "tests/src/"
}
},
"config": {
"allow-plugins": {
"eliashaeussler/version-bumper": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"sort-packages": true,
"vendor-dir": ".build/vendor"
},
"scripts": {
"post-create-project-cmd": [
"CPSIT\\ProjectBuilder\\Bootstrap::createProject"
],
"docs": [
"@docs:build",
"@docs:serve"
],
"docs:build": "docker-compose -f docs/_build/docker-compose.yaml run --rm -it build -a",
"docs:open": "open docs/_build/html/index.html",
"docs:serve": [
"Composer\\Config::disableProcessTimeout",
"docker-compose -f docs/_build/docker-compose.yaml run --rm -it --service-ports serve"
],
"fix": [
"@fix:composer",
"@fix:editorconfig",
"@fix:php"
],
"fix:composer": "@composer normalize",
"fix:editorconfig": "@lint:editorconfig --fix",
"fix:php": "php-cs-fixer fix",
"lint": [
"@lint:composer",
"@lint:editorconfig",
"@lint:json",
"@lint:php"
],
"lint:composer": "@fix:composer --dry-run",
"lint:editorconfig": "ec",
"lint:json": "jsonlint resources/config.schema.json",
"lint:php": "@fix:php --dry-run",
"migration": [
"@migration:rector"
],
"migration:rector": "rector process",
"sca": [
"@sca:php"
],
"sca:php": [
"@php tests/bootstrap.php",
"phpstan analyse -c phpstan.neon"
],
"simulate": [
"Composer\\Config::disableProcessTimeout",
"CPSIT\\ProjectBuilder\\Bootstrap::simulateCreateProject"
],
"test": [
"@test:unit",
"@test:docker --cache"
],
"test:docker": "tests/docker/docker-build.sh",
"test:unit": "@test:unit:coverage --no-coverage",
"test:unit:coverage": "phpunit -c phpunit.xml",
"validate-schema": [
"docker run --rm -v \"$(pwd)\":/code swaggest/json-cli json-cli validate-schema resources/build-artifact.schema.json",
"docker run --rm -v \"$(pwd)\":/code swaggest/json-cli json-cli validate-schema resources/config.schema.json"
]
}
}