-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathcomposer.json
60 lines (60 loc) · 1.83 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
{
"name": "slack-php/slack-app-framework",
"type": "library",
"license": "MIT",
"description": "Provides a foundation upon which to build a Slack application in PHP",
"authors": [
{
"name": "Jeremy Lindblom",
"email": "[email protected]"
}
],
"config": {
"sort-packages": true,
"platform": {
"php": "7.4"
}
},
"require": {
"php": ">=7.4",
"ext-ctype": "*",
"ext-json": "*",
"slack-php/slack-block-kit": "^0.19.0 || ^1.0.0",
"nyholm/psr7": "^1.3",
"nyholm/psr7-server": "^1.0",
"psr/container": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0",
"psr/log": "^1.1"
},
"autoload": {
"psr-4": {
"SlackPhp\\Framework\\": "src/"
}
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.18",
"phpstan/phpstan": "^0.12.77",
"phpunit/phpunit": "^9.5"
},
"autoload-dev": {
"psr-4": {
"SlackPhp\\Framework\\Tests\\": "tests/"
}
},
"scripts": {
"style-lint": "php-cs-fixer fix --dry-run --verbose --show-progress=none",
"style-fix": "php-cs-fixer fix",
"stan": "phpstan analyse --level=5 src tests",
"test": "phpunit --bootstrap=vendor/autoload.php --no-coverage 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-all": [
"@style-lint",
"@stan",
"@test-coverage"
]
}
}