-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
114 lines (112 loc) · 3.82 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "reyesoft/jsonapi-playground",
"description": "JsonApi playground server",
"keywords": ["JsonApi", "php", "server"],
"license": "proprietary",
"type": "project",
"minimum-stability": "stable",
"require": {
"php": "^7.1.3",
"fideloper/proxy": "~4.0",
"laravel/framework": "5.7.28",
"barryvdh/laravel-cors": "0.11.2",
"reyesoft/laravel-json-api": "1.1.19"
},
"require-dev": {
"reyesoft/ci": "1.1.0",
"nunomaduro/larastan": "0.3.18",
"squizlabs/php_codesniffer": "3.2.3",
"fzaninotto/faker": "1.7.1",
"mockery/mockery": "1.1.0",
"phpunit/phpunit": "7.2.4",
"codedungeon/phpunit-result-printer": "0.19.10",
"barryvdh/laravel-ide-helper": "^2.6.2",
"doctrine/dbal": "2.7.1",
"filp/whoops": "2.1.14",
"sebastian/phpcpd": "4.0.0"
},
"repositories": [
{
"type": "git",
"url": "git@bitbucket.org:reyesoft/laravel-json-api.git"
}
],
"autoload": {
"classmap": [
"database/seeds",
"database/factories"
],
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"classmap": [
"tests/TestCase.php"
],
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"autofix": "sh autofix.sh",
"ci": "bash vendor/reyesoft/ci/parallel.bash -s \"composer ci-php-cpd\" \"composer ci-double-spaces\" \"composer phpstan\" \"composer ci-php-csniffer\" \"composer ci-php-cs-fixer\" \"composer ci-php-md\"",
"ci-line": [
"@ci-php-cpd",
"@ci-double-spaces",
"@phpstan",
"@ci-php-csniffer",
"@ci-php-cs-fixer"
],
"ci-php-cpd": "sh resources/ci/php-cpd.sh",
"ci-double-spaces": "sh vendor/reyesoft/ci/tools/find-double-spaces.sh app",
"ci-php-csniffer": "sh resources/ci/php-csniffer.sh",
"ci-php-csniffer-fix": "sh resources/ci/php-csniffer-fix.sh",
"ci-php-cs-fixer": "sh vendor/reyesoft/ci/php/scripts/php-cs-fixer.sh",
"ci-php-md": "sh resources/ci/php-md.sh",
"phpstan": [
"@phpstan-src",
"@phpstan-tests"
],
"phpstan-src": "php -d memory_limit=4G ./vendor/bin/phpstan analyse -c resources/rules/phpstan.src.neon",
"phpstan-tests": "php -d memory_limit=4G ./vendor/bin/phpstan analyse -c resources/rules/phpstan.tests.neon",
"ide-helper": [
"php artisan ide-helper:meta --filename=bootstrap/cache/.phpstorm.meta.php",
"php artisan ide-helper:generate bootstrap/cache/_ide_helper_meta.php"
],
"ide-helper-models":[
"php artisan migrate",
"php artisan ide-helper:models --write",
"composer autofix"
],
"coverage": [
"ulimit -Sn 50000",
"phpdbg -d memory_limit=-1 -qrr ./vendor/bin/phpunit",
"php ./vendor/reyesoft/ci/tools/coverage-checker.php ./bootstrap/cache/clover.xml 80"
],
"test": [
"./runtests"
],
"pre-install-cmd": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover",
"@ide-helper"
]
},
"suggest": {
"ext-iconv": "Used by phpstan to read .neon files",
"doctrine/dbal": "Used by composer ide-helper-models to generate models meta file for IDE"
},
"config": {
"preferred-install": "dist",
"platform:": {
"php": "7.1"
},
"discard-changes": true,
"optimize-autoloader": true
},
"prefer-stable": true
}