-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
106 lines (88 loc) · 2.75 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
{
"name": "tomkyle/webapp-boilerplate",
"description": "Boilerplate for PHP web app with Slim Framework, Gulp, Webpack, PHP-DI",
"type": "project",
"homepage": "https://github.com/tomkyle/webapp-boilerplate",
"license": "MIT",
"authors": [{
"name": "Carsten Witt",
"email": "tomkyle@posteo.de",
"role": "Developer"
}],
"autoload": {
"psr-4": {
"App\\": "src"
},
"files": [
"src/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"tests\\": "tests"
}
},
"require": {
"php": "^8.1",
"vlucas/phpdotenv": "^5.4.1",
"monolog/monolog": "^2.0|^3.2",
"slim/slim": "^4.10",
"slim/psr7": "^1.5",
"php-di/php-di": "^7.0",
"twig/twig": "^3.4.2",
"symfony/console": "^6.1.4",
"symfony/process": "^6.1.3",
"germania-kg/configreader": "^2.1|^3.1.7",
"germania-kg/clearcache-command": "^1.0.9",
"middlewares/csp": "^3.1.1",
"mnapoli/silly": "^1.8"
},
"require-dev": {
"phpunit/phpunit": "^9.5|^10.0",
"phpspec/prophecy-phpunit": "^2.0.1",
"php-coveralls/php-coveralls": "^2.5.2",
"phpstan/phpstan": "^1.8.3",
"friendsofphp/php-cs-fixer": "^2.0|^3.11",
"nyholm/psr7": "^1.5.1",
"guzzlehttp/guzzle": "^7.0",
"bramus/monolog-colored-line-formatter": "^3.0.6",
"roave/security-advisories": "dev-latest"
},
"scripts": {
"post-update-cmd": [
"php bin/post-install.php dotenv --yes",
"php bin/post-install.php htaccess --yes",
"@test"
],
"post-install-cmd": [
"php bin/post-install.php dotenv --yes",
"php bin/post-install.php htaccess --yes"
],
"htaccess": [
"@htaccess:build"
],
"htaccess:build": "~/server-configs-apache/bin/build.sh public/htaccess.dist ./resources/server-configs/htaccess.conf",
"build": "npm run build",
"lighthouse": "npm run lighthouse",
"phpunit": "phpunit --testdox",
"phpstan": "phpstan analyse",
"phpcs": [
"@phpcs:dry"
],
"phpcs:dry": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix --verbose --diff --dry-run",
"phpcs:apply": [
"PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix --verbose --diff",
"@test:unit"
],
"test": [
"@test:unit",
"@test:integration"
],
"test:unit": ["@phpunit --testsuite unit"],
"test:integration": ["@phpunit --testsuite integration"],
"test:performance": [
"@build",
"@lighthouse"
]
}
}