-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
69 lines (69 loc) · 2 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
{
"name": "slim/slim-skeleton",
"description": "A Slim Framework skeleton application for rapid development",
"license": "MIT",
"require": {
"php": ">=7.3",
"ext-json": "*",
"slim/slim": "^3.12",
"php-di/slim-bridge": "^2.0",
"phpmetrics/phpmetrics": "^2.4",
"league/flysystem": "^1.0",
"zircote/swagger-php": "^3.0"
},
"require-dev": {
"phpunit/phpunit": "*",
"squizlabs/php_codesniffer": "*",
"dprevite/lint": "^1.0",
"phpmd/phpmd": "*",
"phploc/phploc": "*",
"sebastian/phpcpd": "*",
"captainhook/captainhook": "^4.4",
"povils/phpmnd": "^2.1",
"wambo-co/phpmd-extension": "^0.1.0"
},
"autoload": {
"psr-4": {
"Wambo\\Demo\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Wambo\\Tests\\Unit\\": "tests/Unit"
}
},
"scripts": {
"start": "php -S localhost:8000 -t public",
"report": "php -S localhost:8000 -t report",
"test": "phpunit --coverage-text",
"phpcs": "vendor/bin/phpcs --standard=PSR2 src/",
"phpcbf": "vendor/bin/phpcbf --standard=PSR2 src/ > /dev/null || true",
"phploc": "vendor/bin/phploc src/",
"phpmd": "vendor/bin/phpmd src/ text ruleset.xml",
"phpcpd": "vendor/bin/phpcpd --min-lines 3 --min-tokens 25 src/",
"phpmnd": "vendor/bin/phpmnd --non-zero-exit-on-violation ./src",
"generate-swagger": "./vendor/bin/openapi -o doc/swagger/swagger.json --bootstrap src/config.php --format json src/",
"generate-metrics": "./vendor/bin/phpmetrics ./src --report-html=doc/metrics",
"generate-coverage": "./vendor/bin/phpunit --coverage-html doc/coverage",
"build-docs": [
"composer generate-swagger",
"composer generate-metrics",
"composer generate-coverage"
],
"test-all": [
"composer phpcbf",
"composer phpcs",
"composer phpmd",
"composer phpcpd",
"composer phpmnd",
"composer test"
]
},
"config": {
"process-timeout": 0,
"preferred-install": {
"*": "dist"
}
},
"prefer-stable": true
}