-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathcomposer.json
46 lines (46 loc) · 1.59 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
{
"name": "slack-php/slack-block-kit",
"description": "OOP interface for writing Slack Block Kit messages and modals",
"type": "library",
"license": "MIT",
"config": {
"sort-packages": true
},
"require": {
"php": ">=8.1",
"ext-json": "*"
},
"require-dev": {
"ext-mbstring": "*",
"friendsofphp/php-cs-fixer": "^3.6",
"phpstan/phpstan": "^1.4",
"phpunit/phpunit": "^9.5"
},
"autoload": {
"psr-4": {
"SlackPhp\\BlockKit\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"SlackPhp\\BlockKit\\Tests\\": "tests/"
}
},
"scripts": {
"stan": "phpstan analyse -c phpstan.neon",
"style-fix": "php-cs-fixer fix",
"style-help": "php-cs-fixer describe",
"style-lint": "php-cs-fixer fix --dry-run --verbose",
"test": "phpunit --bootstrap=vendor/autoload.php --no-coverage tests",
"test-all": [
"@style-lint",
"@stan",
"@test-coverage"
],
"test-ci": "XDEBUG_MODE=coverage phpunit --bootstrap=vendor/autoload.php --coverage-text --whitelist=src --do-not-cache-result tests",
"test-coverage": "XDEBUG_MODE=coverage phpunit --bootstrap=vendor/autoload.php --coverage-html=build/coverage --whitelist=src tests",
"test-debug": "XDEBUG_MODE=debug phpunit --bootstrap=vendor/autoload.php --no-coverage --debug tests",
"test-dox": "phpunit --bootstrap=vendor/autoload.php --no-coverage --testdox tests",
"test-gen": "php tests/bin/gen-test.php"
}
}