Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
159 lines (159 loc) · 5.47 KB
/
Copy pathcomposer.json
File metadata and controls
159 lines (159 loc) · 5.47 KB
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"wyrihaximus/composer-update-bin-autoload-path": false,
"infection/extension-installer": false,
"php-http/discovery": true,
"captainhook/captainhook-phar": true,
"captainhook/hook-installer": true,
"wikimedia/composer-merge-plugin": true
}
},
"description": "Commlink is a manager for characters and campaigns for various table top role playing games.",
"extra": {
"laravel": {
"dont-discover": [
"laravel/telescope"
]
},
"merge-plugin": {
"include": [
"Modules/*/composer.json"
]
}
},
"license": "MIT",
"minimum-stability": "stable",
"name": "omnicolor/commlink",
"prefer-stable": true,
"require": {
"php": "^8.4.1",
"ext-curl": "^7.34|^8.0",
"ext-fileinfo": "*",
"ext-mongodb": "^2.0",
"ext-random": "*",
"ext-redis": "*",
"ext-zip": "*",
"calebporzio/sushi": "^2.5",
"captainhook/hook-installer": "^1.0",
"fakerphp/faker": "^1.23",
"guzzlehttp/guzzle": "^7.3",
"laravel/framework": "^13.2",
"laravel/pennant": "^1.1",
"laravel/pulse": "^1.2",
"laravel/sanctum": "^4.0",
"laravel/socialite": "^5.6",
"league/commonmark": "^2.6",
"markrogoyski/math-php": "^2.8",
"mongodb/laravel-mongodb": "^5.1",
"nwidart/laravel-modules": "11.0.11",
"omnicolor/php-irc-client": "^1.1",
"omnicolor/slack": "^0.9",
"php-jsonpatch/php-jsonpatch": "^4.1",
"predis/predis": "^3.0",
"pusher/pusher-php-server": "^7.0",
"socialiteproviders/discord": "^4.1",
"socialiteproviders/google": "^4.1",
"spatie/laravel-permission": "^8.3",
"spatie/laravel-signal-aware-command": "^2.0",
"team-reflex/discord-php": "^10.1"
},
"require-dev": {
"ext-sqlite3": "*",
"calebdw/fakerstan": "^1.0",
"captainhook/captainhook-phar": "^5.23",
"cypresslab/gitelephant": "^5.0",
"driftingly/rector-laravel": "^2.0",
"friendsofphp/php-cs-fixer": "^3.49",
"larastan/larastan": "^3.0",
"laravel/breeze": "^2.0",
"laravel/prompts": "^0.3",
"laravel/telescope": "^5.2",
"laravel/tinker": "^3.0",
"mockery/mockery": "^1.4",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^13.0",
"rector/rector": "^2.0",
"roave/security-advisories": "dev-latest",
"spatie/laravel-ignition": "^2.0",
"worksome/envy": "^1.1"
},
"scripts": {
"all": [
"@lint",
"@php-cs-fixer",
"@phpstan",
"@rector",
"@coverage",
"@lint-openapi"
],
"coverage": [
"Composer\\Config::disableProcessTimeout",
"XDEBUG_MODE=coverage phpunit --coverage-html=public/coverage"
],
"infection": "infection --coverage=public/coverage",
"lint": "parallel-lint --colors app config database routes tests Modules",
"lint-openapi": "npx @redocly/cli lint public/openapi/openapi.yml",
"php-cs-fixer": "php-cs-fixer fix --dry-run --config=php_cs.php -v --diff",
"php-cs-fixer-fix": "php-cs-fixer fix --config=php_cs.php",
"phpstan": [
"Composer\\Config::disableProcessTimeout",
"phpstan analyze"
],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi",
"captainhook install -f -s"
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"rector": "rector --dry-run",
"rector-fix": "rector",
"static": [
"@lint",
"@phpstan",
"@rector"
],
"style": [
"@php-cs-fixer"
],
"test": "phpunit"
},
"scripts-descriptions": {
"all": "Run all unit/feature tests with code coverage, then code style check, then PHPstan",
"coverage": "Run all unit/feature tests and create a code coverage report in public/coverage",
"infection": "Test the test suite with Infection",
"lint": "Run lint across code to make sure it's syntactically valid",
"lint-openapi": "Verify the OpenAPI document is valid",
"php-cs-fixer": "Run php-cs-fixer",
"phpstan": "Run PHPstan",
"rector": "Automatically refactor codebase",
"static": "Run static analysis (Lint and PHPStan)",
"style": "Run php-cs-fixer",
"test": "Run all unit/feature tests"
},
"type": "project"
}