-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
37 lines (37 loc) · 1.17 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
{
"name": "dvnc0/chaos-gremlin",
"type": "library",
"description": "A chaos agent for PHP",
"authors": [
{
"name": "dvnc0",
"email": "dcobb.dev@gmail.com"
}
],
"license": "Unlicense",
"config": {
"vendor-dir": "src/vendor"
},
"autoload": {
"psr-4": {
"ChaosGremlin\\": "src/"
}
},
"require": {
"php": ">=7.4"
},
"require-dev": {
"phpunit/phpunit": "^9",
"squizlabs/php_codesniffer": "^3.7",
"phpstan/phpstan": "^1.8",
"phpunit/php-code-coverage": "^9.2"
},
"scripts": {
"test": "src/vendor/bin/phpunit src/tests/",
"coverage": "src/vendor/bin/phpunit --coverage-html src/tests/coverage/ src/tests/",
"view": "xdg-open src/tests/coverage/index.html",
"stan": "src/vendor/bin/phpstan analyse -c phpstan.neon",
"phpcs": "src/vendor/bin/phpcbf -p --colors --standard=phpcs.xml src --ignore=*/vendor/*; src/vendor/bin/phpcs -n --colors --standard=phpcs.xml src --ignore=*/vendor/*",
"check": "composer run-script test; composer run-script stan; composer run-script phpcs"
}
}