-
Notifications
You must be signed in to change notification settings - Fork 5
/
composer.json
48 lines (48 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
47
48
{
"name": "jeremeamia/slack-block-kit",
"description": "OOP interface for writing Slack Block Kit messages",
"type": "library",
"license": "MIT",
"abandoned": "slack-php/slack-block-kit",
"config": {
"sort-packages": true
},
"require": {
"php": ">=7.3",
"ext-json": "*"
},
"require-dev": {
"phpstan/phpstan": "^0.12.0",
"phpunit/phpunit": "^9.0",
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
"psr-4": {
"Jeremeamia\\Slack\\BlockKit\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Jeremeamia\\Slack\\BlockKit\\Tests\\": "tests/"
}
},
"scripts": {
"stan": "phpstan analyse -c phpstan.neon",
"style-fix": "phpcbf --standard=PSR12 src tests",
"style-lint": "phpcs --standard=PSR12 src tests",
"test": "phpunit --bootstrap=vendor/autoload.php --no-coverage tests",
"test-all": [
"@style-lint",
"@stan",
"@test-coverage"
],
"test-ci": "phpunit --bootstrap=vendor/autoload.php --coverage-text --whitelist=src --do-not-cache-result tests",
"test-coverage": [
"phpunit --bootstrap=vendor/autoload.php --coverage-html=build/coverage --whitelist=src tests",
"open build/coverage/index.html"
],
"test-debug": "phpunit --bootstrap=vendor/autoload.php --no-coverage --debug tests",
"test-dox": "phpunit --bootstrap=vendor/autoload.php --no-coverage --testdox tests",
"test-gen": "php bin/gen-test.php"
}
}