-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
composer.json
70 lines (70 loc) · 2.19 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
61
62
63
64
65
66
67
68
69
70
{
"name": "mariosimao/notion-sdk-php",
"description": "A complete Notion SDK for PHP developers.",
"type": "library",
"license": "MIT",
"homepage": "https://mariosimao.github.io/notion-sdk-php",
"autoload": {
"psr-4": {
"Notion\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Notion\\Test\\": "tests/"
}
},
"authors": [
{
"name": "Mario Simão",
"email": "mariogsimao@gmail.com"
}
],
"require": {
"php": ">=8.1",
"psr/http-client-implementation": "^1.0",
"psr/http-message-implementation": "^1.0",
"psr/http-factory-implementation": "^1.0",
"php-http/discovery": "^1.15"
},
"require-dev": {
"brianium/paratest": "^7.1",
"guzzlehttp/guzzle": "^7.5",
"infection/infection": "^0.26.19 || ^0.27.0",
"phpunit/phpunit": "^10.0",
"psalm/plugin-phpunit": "^0.18.4",
"squizlabs/php_codesniffer": "^3.7",
"vimeo/psalm": "^5.7"
},
"scripts": {
"ci:phpcs": "phpcs -q --report=checkstyle | cs2pr",
"ci:psalm": "psalm --output-format=github --shepherd --stats",
"ci:coverage": [
"Composer\\Config::disableProcessTimeout",
"paratest --coverage-clover dist/phpunit/clover.xml"
],
"ci:unit": "paratest --testsuite Unit",
"ci:integration": "paratest --testsuite Integration",
"ci:mutation": [
"Composer\\Config::disableProcessTimeout",
"infection --threads=max"
],
"test": [
"@test:phpcs",
"@test:psalm",
"@test:unit"
],
"test:phpcs": "phpcs",
"test:psalm": "psalm --no-cache",
"test:unit": "phpunit --testsuite Unit",
"test:integration": "paratest --testsuite Integration",
"test:coverage": "paratest --coverage-html dist/phpunit/html && echo \"Open the result on your browser: $PWD/dist/phpunit/html/index.html\""
},
"config": {
"allow-plugins": {
"infection/extension-installer": true,
"php-http/discovery": true
},
"sort-packages": true
}
}