-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
76 lines (76 loc) · 2.57 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
71
72
73
74
75
76
{
"name": "allestuetsmerweh/php-typescript-api",
"version": "2.6.12",
"type": "library",
"description": "Build a typed Web API using PHP and TypeScript",
"keywords": ["PHP","TypeScript","API"],
"homepage": "https://github.com/allestuetsmerweh/php-typescript-api",
"license": "MIT",
"authors": [
{
"name": "Simon Hatt",
"email": "[email protected]",
"homepage": "https://hatt.style",
"role": "Developer"
}
],
"config": {
"platform": {
"php": "8.1"
}
},
"require-dev": {
"friendsofphp/php-cs-fixer": ">=3.4",
"phpunit/phpunit": ">=9",
"phpstan/phpstan": "^2.0"
},
"require": {
"monolog/monolog": ">=3.2",
"php": ">=8.1",
"psr/log": ">=3.0",
"symfony/http-foundation": ">=6.1",
"phpstan/phpdoc-parser": "^2.0"
},
"scripts": {
"check": "vendor/bin/phpstan",
"run-example": "cd ./example; ./run.sh",
"fix": "php-cs-fixer fix --config=./.php_cs_config.php -v",
"fixdiff": "php-cs-fixer fix --config=./.php_cs_config.php -v --dry-run --diff",
"test": "phpunit server/tests example/tests/BackendTests && echo \"\n\nOpen the HTML test coverage in a web browser:\n\n file://$(pwd)/php-coverage/html-coverage/index.html\n\n\"",
"backend_tests": "phpunit example/tests/BackendTests && echo \"\n\nOpen the HTML test coverage in a web browser:\n\n file://$(pwd)/php-coverage/html-coverage/index.html\n\n\"",
"unit_tests": "phpunit server/tests/UnitTests && echo \"\n\nOpen the HTML test coverage in a web browser:\n\n file://$(pwd)/php-coverage/html-coverage/index.html\n\n\""
},
"archive": {
"exclude": [
"/.github/",
"/client/",
"/coverage/",
"/example/",
"/php-coverage/",
"/vendor/",
"/.editorconfig",
"/.eslintignore",
"/.eslintrc.js",
"/.php_cs_config.php",
"/.php_cs.cache",
"/.php_cs_config.php",
"/.phpunit.result.cache",
"/jest.config.js",
"/package.json",
"/package-lock.json",
"/phpunit.xml",
"/tsconfig.json"
]
},
"autoload": {
"psr-4": {
"PhpTypeScriptApi\\": "server/lib/"
}
},
"autoload-dev": {
"psr-4": {
"PhpTypeScriptApi\\Tests\\": "server/tests/",
"PhpTypeScriptApi\\BackendTests\\": "example/tests/BackendTests/"
}
}
}