forked from jeremeamia/slack-block-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
51 lines (51 loc) · 1.81 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
{
"name": "jeremeamia/slack-block-kit",
"description": "OOP interface for writing Slack Block Kit messages",
"type": "library",
"license": "MIT",
"config": {
"sort-packages": true
},
"require": {
"php": ">=7.2",
"ext-json": "*"
},
"require-dev": {
"phpstan/phpstan": "^0.11.0",
"phpunit/phpunit": "^8.0",
"squizlabs/php_codesniffer": "^3.4"
},
"autoload": {
"psr-4": {
"Jeremeamia\\Slack\\BlockKit\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Jeremeamia\\Slack\\BlockKit\\Tests\\": "tests/"
}
},
"scripts": {
"ci": [
"@style-lint",
"@stan",
"@test-ci"
],
"docs-codesniffer": "open https://github.com/squizlabs/PHP_CodeSniffer/wiki",
"docs-composer": "open https://getcomposer.org/doc/",
"docs-phpunit": "open https://phpunit.readthedocs.io/en/latest/",
"docs-stan": "open https://github.com/phpstan/phpstan/blob/master/README.md",
"gen-test": "php bin/gen-test.php",
"stan": "phpstan analyse --level=7 src tests",
"style-fix": "phpcbf --standard=PSR12 src tests",
"style-lint": "phpcs --standard=PSR12 src tests",
"test": "phpunit --bootstrap=vendor/autoload.php --no-coverage tests",
"test-ci": "phpunit --bootstrap=vendor/autoload.php --coverage-text --whitelist=src 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"
}
}