Removes the need for the javascript to be parsed by Blade template engine by using a defined javascript variable with the values that are necessary for checking everything and passing the correct values. This does make it so that if a user does not have permission to do something they could theoretically make the option show up in the context menu, however when they click it, it will simply return an error by the daemon.
88 lines
2.7 KiB
JSON
88 lines
2.7 KiB
JSON
{
|
|
"name": "Pterodactyl Panel",
|
|
"description": "The free, open-source game management panel. Supporting Minecraft, Spigot, BungeeCord, and SRCDS servers.",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Dane Everitt",
|
|
"email": "dane@daneeveritt.com",
|
|
"homepage": "https://github.com/DaneEveritt",
|
|
"role": "Lead Developer"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": ">=5.6.4",
|
|
"laravel/framework": "5.3.21",
|
|
"barryvdh/laravel-debugbar": "2.2.3",
|
|
"doctrine/dbal": "2.5.5",
|
|
"guzzlehttp/guzzle": "6.2.2",
|
|
"pragmarx/google2fa": "1.0.1",
|
|
"webpatser/laravel-uuid": "2.0.1",
|
|
"prologue/alerts": "0.4.0",
|
|
"s1lentium/iptools": "1.1.0",
|
|
"edvinaskrucas/settings": "2.0.0",
|
|
"igaster/laravel-theme": "1.1.3",
|
|
"nesbot/carbon": "1.21.0",
|
|
"mtdowling/cron-expression": "1.1.0",
|
|
"dingo/api": "1.0.0-beta6",
|
|
"aws/aws-sdk-php": "3.19.20",
|
|
"predis/predis": "1.1.1",
|
|
"laracasts/utilities": "^2.1"
|
|
},
|
|
"require-dev": {
|
|
"fzaninotto/faker": "~1.4",
|
|
"mockery/mockery": "0.9.*",
|
|
"phpunit/phpunit": "~5.0",
|
|
"symfony/css-selector": "3.1.*",
|
|
"symfony/dom-crawler": "3.1.*",
|
|
"laravel/homestead": "3.0.*"
|
|
},
|
|
"autoload": {
|
|
"classmap": [
|
|
"database"
|
|
],
|
|
"psr-4": {
|
|
"Pterodactyl\\": "app/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"classmap": [
|
|
"tests/TestCase.php"
|
|
]
|
|
},
|
|
"scripts": {
|
|
"post-root-package-install": [
|
|
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
|
],
|
|
"post-create-project-cmd": [
|
|
"php artisan key:generate"
|
|
],
|
|
"post-install-cmd": [
|
|
"Illuminate\\Foundation\\ComposerScripts::postInstall",
|
|
"php artisan optimize"
|
|
],
|
|
"post-update-cmd": [
|
|
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
|
|
"php artisan optimize"
|
|
],
|
|
"setup-dev": [
|
|
"composer install",
|
|
"php -r \"copy('.env.example', '.env');\"",
|
|
"php vendor/bin/homestead make --ip=192.168.10.32",
|
|
"sed -i.bak 's/homestead.app/pterodactyl.local/g' Homestead.yaml",
|
|
"rm Homestead.yaml.bak",
|
|
"php artisan key:generate"
|
|
],
|
|
"setup": [
|
|
"composer install --ansi --no-dev",
|
|
"php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
|
|
"php artisan key:generate"
|
|
],
|
|
"upgrade": [
|
|
"composer update --ansi --no-dev"
|
|
]
|
|
},
|
|
"config": {
|
|
"preferred-install": "dist"
|
|
}
|
|
}
|