Files

154 lines
5.6 KiB
JSON
Raw Permalink Normal View History

2015-12-06 13:58:49 -05:00
{
"name": "pterodactyl/panel",
2016-01-19 19:10:39 -05:00
"description": "The free, open-source game management panel. Supporting Minecraft, Spigot, BungeeCord, and SRCDS servers.",
2016-01-20 15:56:40 -05:00
"license": "MIT",
"authors": [
2022-10-14 10:59:20 -06:00
{
"name": "Matthew Penner",
"email": "matthew@pterodactyl.io",
"homepage": "https://github.com/matthewpi",
"role": "Lead Developer"
},
2016-01-20 15:56:40 -05:00
{
"name": "Dane Everitt",
"email": "dane@daneeveritt.com",
"homepage": "https://github.com/DaneEveritt",
2022-10-14 10:59:20 -06:00
"role": "Developer"
2016-01-20 15:56:40 -05:00
}
],
2015-12-06 13:58:49 -05:00
"require": {
2026-10-05 18:10:18 -04:00
"php": "^8.3",
"ext-intl": "*",
2021-01-23 12:09:16 -08:00
"ext-json": "*",
2017-07-22 20:15:01 -05:00
"ext-mbstring": "*",
"ext-pdo": "*",
2017-07-22 20:15:01 -05:00
"ext-pdo_mysql": "*",
2022-10-14 10:59:20 -06:00
"ext-posix": "*",
2017-07-22 20:15:01 -05:00
"ext-zip": "*",
"aws/aws-sdk-php": "^3.369",
2026-10-05 18:10:18 -04:00
"composer/semver": "^3.4",
"guzzlehttp/guzzle": "^7.9.2",
"hashids/hashids": "^5.0.2",
2026-10-05 18:10:18 -04:00
"knuckleswtf/scribe": "^5.11",
"laravel/framework": "^13.0",
"laravel/sanctum": "^4.2.0",
2026-10-05 18:10:18 -04:00
"laravel/tinker": "^3.0",
"lcobucci/jwt": "^5.6.0",
"league/flysystem-aws-s3-v3": "^3.30.1",
"league/flysystem-memory": "^3.29.0",
"phpseclib/phpseclib": "^3.0.47",
2024-10-21 19:18:20 -06:00
"pragmarx/google2fa": "~8.0.3",
"predis/predis": "^3.3.0",
2023-02-23 12:30:16 -07:00
"s1lentium/iptools": "~1.2.0",
"spatie/laravel-query-builder": "^6.3.6",
"symfony/http-client": "^7.4.0",
"symfony/mailgun-mailer": "^7.4.0",
"symfony/postmark-mailer": "^7.4.0",
2026-10-05 18:10:18 -04:00
"symfony/yaml": "^7.4.0"
2015-12-06 13:58:49 -05:00
},
"require-dev": {
"barryvdh/laravel-ide-helper": "^3.6",
2026-10-05 18:10:18 -04:00
"driftingly/rector-laravel": "^2.6",
"fakerphp/faker": "^1.24",
"larastan/larastan": "^3.8",
2026-10-05 18:10:18 -04:00
"laravel/pint": "^1.29",
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.5",
2026-10-05 18:10:18 -04:00
"pestphp/pest": "^4.0",
"pestphp/pest-plugin-laravel": "^4.0",
"pestphp/pest-plugin-type-coverage": "^4.0",
"phpstan/extension-installer": "^1.4",
"rector/rector": "^2.6",
2026-10-11 19:06:44 -04:00
"roave/security-advisories": "dev-latest"
2015-12-06 13:58:49 -05:00
},
"autoload": {
"psr-4": {
2021-01-23 12:09:16 -08:00
"Pterodactyl\\": "app/",
"Database\\Factories\\": "database/Factories/",
"Database\\Seeders\\": "database/Seeders/"
2015-12-06 13:58:49 -05:00
}
},
"autoload-dev": {
2017-04-01 17:59:43 -04:00
"psr-4": {
2026-10-11 19:06:44 -04:00
"Pterodactyl\\Tests\\": "tests/"
}
2015-12-06 13:58:49 -05:00
},
"scripts": {
2026-10-08 19:54:47 -04:00
"setup": [
"Composer\\Config::disableProcessTimeout",
"@composer install",
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
"@php -r \"preg_match('/^APP_KEY=./m', file_get_contents('.env')) || passthru(escapeshellarg(PHP_BINARY).' artisan key:generate --ansi');\"",
"npm ci",
"npm run build",
"@php -r \"echo PHP_EOL.'Next: point .env at MySQL/MariaDB (php artisan p:environment:database), then run php artisan migrate --seed.'.PHP_EOL;\""
],
"dev": [
"Composer\\Config::disableProcessTimeout",
"npx concurrently --kill-others --names queue,vite -c \"#93c5fd,#fdba74\" \"php artisan queue:listen --tries=1\" \"npm run dev\""
],
"check": [
"Composer\\Config::disableProcessTimeout",
"npm run lint",
"npm run tsc",
"npm test",
"@test"
],
2026-10-05 18:10:18 -04:00
"lint": [
"rector",
"pint --parallel --cache-file=.pint.cache app bootstrap/app.php bootstrap/tests.php config database routes tests"
],
"test:lint": [
2026-10-11 19:06:44 -04:00
"pint --test --parallel --cache-file=.pint.cache app bootstrap/app.php bootstrap/tests.php config database routes tests",
2026-10-05 18:10:18 -04:00
"rector --dry-run"
],
2026-10-11 19:06:44 -04:00
"test:types": "phpstan analyse --memory-limit=2G",
2026-10-05 18:10:18 -04:00
"test:type-coverage": [
"@putenv __PEST_PLUGIN_ENV=1",
"@php -d variables_order=EGPCS vendor/bin/pest --type-coverage --min=100"
],
"test:unit": "@php -d memory_limit=2G vendor/bin/pest --bootstrap vendor/autoload.php tests/Unit",
"test:integration": "@php -d memory_limit=2G vendor/bin/pest tests/Integration",
"test": [
2026-10-08 19:54:47 -04:00
"Composer\\Config::disableProcessTimeout",
"@php artisan config:clear --ansi",
2026-10-05 18:10:18 -04:00
"@test:type-coverage",
"@test:unit",
"@test:integration",
"@test:lint",
"@test:types"
],
"docs:openapi": "@php artisan scribe:generate --force --no-upgrade-check",
"docs:openapi:test": "@php vendor/bin/pest --bootstrap vendor/autoload.php tests/Architecture/OpenApiContractTest.php",
"docs:openapi:responses": [
"@putenv OPENAPI_VALIDATE=1",
"@php -d memory_limit=2G vendor/bin/pest --testsuite Integration"
],
"docs:openapi:verify": [
"@docs:openapi",
"@docs:openapi:test"
],
2023-02-23 12:30:16 -07:00
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi || true"
],
"post-install-cmd": [
"@php artisan p:environment:addons:run-hooks post-install || true"
2015-12-06 13:58:49 -05:00
]
},
"config": {
2022-10-14 10:59:20 -06:00
"optimize-autoloader": true,
2017-04-01 17:59:43 -04:00
"preferred-install": "dist",
"sort-packages": true,
2022-10-14 10:59:20 -06:00
"platform": {
2026-10-05 18:10:18 -04:00
"php": "8.3.0"
},
"allow-plugins": {
"pestphp/pest-plugin": true,
"phpstan/extension-installer": true
2022-10-14 10:59:20 -06:00
}
2023-02-23 12:30:16 -07:00
},
"minimum-stability": "stable",
2026-10-11 19:06:44 -04:00
"prefer-stable": true
2015-12-06 13:58:49 -05:00
}