mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 12:59:54 +08:00
abda9bc00a
Closes #5222
117 lines
3.6 KiB
JSON
117 lines
3.6 KiB
JSON
{
|
|
"name": "bookstackapp/bookstack",
|
|
"description": "BookStack documentation platform",
|
|
"keywords": [
|
|
"BookStack",
|
|
"Documentation"
|
|
],
|
|
"license": "MIT",
|
|
"type": "project",
|
|
"require": {
|
|
"php": "^8.1.0",
|
|
"ext-curl": "*",
|
|
"ext-dom": "*",
|
|
"ext-fileinfo": "*",
|
|
"ext-gd": "*",
|
|
"ext-json": "*",
|
|
"ext-mbstring": "*",
|
|
"ext-xml": "*",
|
|
"bacon/bacon-qr-code": "^3.0",
|
|
"doctrine/dbal": "^3.5",
|
|
"dompdf/dompdf": "^3.0",
|
|
"guzzlehttp/guzzle": "^7.4",
|
|
"intervention/image": "^3.5",
|
|
"knplabs/knp-snappy": "^1.5",
|
|
"laravel/framework": "^10.10",
|
|
"laravel/socialite": "^5.10",
|
|
"laravel/tinker": "^2.8",
|
|
"league/commonmark": "^2.3",
|
|
"league/flysystem-aws-s3-v3": "^3.0",
|
|
"league/html-to-markdown": "^5.0.0",
|
|
"league/oauth2-client": "^2.6",
|
|
"onelogin/php-saml": "^4.0",
|
|
"phpseclib/phpseclib": "^3.0",
|
|
"pragmarx/google2fa": "^8.0",
|
|
"predis/predis": "^2.1",
|
|
"socialiteproviders/discord": "^4.1",
|
|
"socialiteproviders/gitlab": "^4.1",
|
|
"socialiteproviders/microsoft-azure": "^5.1",
|
|
"socialiteproviders/okta": "^4.2",
|
|
"socialiteproviders/twitch": "^5.3",
|
|
"ssddanbrown/htmldiff": "^1.0.2",
|
|
"ssddanbrown/symfony-mailer": "6.4.x-dev"
|
|
},
|
|
"require-dev": {
|
|
"fakerphp/faker": "^1.21",
|
|
"itsgoingd/clockwork": "^5.1",
|
|
"mockery/mockery": "^1.5",
|
|
"nunomaduro/collision": "^7.0",
|
|
"larastan/larastan": "^2.7",
|
|
"phpunit/phpunit": "^10.0",
|
|
"squizlabs/php_codesniffer": "^3.7",
|
|
"ssddanbrown/asserthtml": "^3.0"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"BookStack\\": "app/",
|
|
"Database\\Factories\\": "database/factories/",
|
|
"Database\\Seeders\\": "database/seeders/"
|
|
},
|
|
"files": [
|
|
"app/App/helpers.php"
|
|
]
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Tests\\": "tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"check-static": "phpstan --memory-limit=2g",
|
|
"format": "phpcbf",
|
|
"lint": "phpcs",
|
|
"test": "phpunit",
|
|
"t-reset": "@php artisan test --recreate-databases",
|
|
"build-licenses": [
|
|
"@php ./dev/licensing/gen-js-licenses",
|
|
"@php ./dev/licensing/gen-php-licenses"
|
|
],
|
|
"post-autoload-dump": [
|
|
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
|
"@php artisan package:discover --ansi"
|
|
],
|
|
"post-root-package-install": [
|
|
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
|
],
|
|
"post-create-project-cmd": [
|
|
"@php artisan key:generate --ansi"
|
|
],
|
|
"pre-install-cmd": [
|
|
"@php -r \"!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');\""
|
|
],
|
|
"post-install-cmd": [
|
|
"@php artisan cache:clear",
|
|
"@php artisan view:clear"
|
|
],
|
|
"refresh-test-database": [
|
|
"@php artisan migrate:refresh --database=mysql_testing",
|
|
"@php artisan db:seed --class=DummyContentSeeder --database=mysql_testing"
|
|
]
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"preferred-install": "dist",
|
|
"sort-packages": true,
|
|
"platform": {
|
|
"php": "8.1.0"
|
|
}
|
|
},
|
|
"extra": {
|
|
"laravel": {
|
|
"dont-discover": []
|
|
}
|
|
},
|
|
"minimum-stability": "stable",
|
|
"prefer-stable": true
|
|
}
|