-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
47 lines (47 loc) · 1.32 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
{
"name": "flightphp/runway",
"description": "Console app for the Flight PHP Framework.",
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"flight\\": "src/"
}
},
"authors": [
{
"name": "n0nag0n",
"email": "n0nag0n@sky-9.com"
}
],
"require-dev": {
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.5",
"rregeer/phpunit-coverage-check": "^0.3.1",
"squizlabs/php_codesniffer": "^3.8"
},
"scripts": {
"test": "phpunit",
"test-coverage": "rm -f clover.xml && XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html=coverage --coverage-clover=clover.xml && vendor/bin/coverage-check clover.xml 100",
"lint": "phpstan --no-progress -cphpstan.neon",
"beautify": "phpcbf --standard=phpcs.xml",
"phpcs": "phpcs --standard=phpcs.xml -n",
"post-install-cmd": [
"php -r \"if (!file_exists('phpcs.xml')) copy('phpcs.xml.dist', 'phpcs.xml');\""
]
},
"bin": [
"runway"
],
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"require": {
"php": "^8.2",
"adhocore/cli": "^1.7",
"nette/php-generator": "^4.1"
}
}