mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-27 04:32:14 +00:00
![Dan Brown](/assets/img/avatar_default.png)
Trying out StyleCI as an automated easy way to ensure code style is consistent across the PHP codebase. PHPCS+PHPCBF was good but I wouldn't run it enough then I'd get paranoid about running it with pending PRs. Better to let the robots stay on top of things.
102 lines
3.0 KiB
JSON
102 lines
3.0 KiB
JSON
{
|
|
"name": "bookstackapp/bookstack",
|
|
"description": "BookStack documentation platform",
|
|
"keywords": ["BookStack", "Documentation"],
|
|
"license": "MIT",
|
|
"type": "project",
|
|
"require": {
|
|
"php": "^7.3|^8.0",
|
|
"ext-curl": "*",
|
|
"ext-dom": "*",
|
|
"ext-fileinfo": "*",
|
|
"ext-gd": "*",
|
|
"ext-json": "*",
|
|
"ext-mbstring": "*",
|
|
"ext-xml": "*",
|
|
"barryvdh/laravel-dompdf": "^0.9.0",
|
|
"barryvdh/laravel-snappy": "^0.4.8",
|
|
"doctrine/dbal": "^2.12.1",
|
|
"facade/ignition": "^1.16.4",
|
|
"fideloper/proxy": "^4.4.1",
|
|
"intervention/image": "^2.5.1",
|
|
"laravel/framework": "^6.20.16",
|
|
"laravel/socialite": "^5.1",
|
|
"league/commonmark": "^1.5",
|
|
"league/flysystem-aws-s3-v3": "^1.0.29",
|
|
"league/html-to-markdown": "^5.0.0",
|
|
"nunomaduro/collision": "^3.1",
|
|
"onelogin/php-saml": "^4.0",
|
|
"predis/predis": "^1.1.6",
|
|
"socialiteproviders/discord": "^4.1",
|
|
"socialiteproviders/gitlab": "^4.1",
|
|
"socialiteproviders/microsoft-azure": "^4.1",
|
|
"socialiteproviders/okta": "^4.1",
|
|
"socialiteproviders/slack": "^4.1",
|
|
"socialiteproviders/twitch": "^5.3",
|
|
"ssddanbrown/htmldiff": "^v1.0.1"
|
|
},
|
|
"require-dev": {
|
|
"barryvdh/laravel-debugbar": "^3.5.1",
|
|
"barryvdh/laravel-ide-helper": "^2.8.2",
|
|
"fakerphp/faker": "^1.13.0",
|
|
"laravel/browser-kit-testing": "^5.2",
|
|
"mockery/mockery": "^1.3.3",
|
|
"phpunit/phpunit": "^9.5.3"
|
|
},
|
|
"autoload": {
|
|
"classmap": [
|
|
"database/seeds",
|
|
"database/factories"
|
|
],
|
|
"psr-4": {
|
|
"BookStack\\": "app/"
|
|
},
|
|
"files": [
|
|
"app/helpers.php"
|
|
]
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Tests\\": "tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"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"
|
|
],
|
|
"post-autoload-dump": [
|
|
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
|
"@php artisan package:discover --ansi"
|
|
],
|
|
"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": "7.3.0"
|
|
}
|
|
},
|
|
"extra": {
|
|
"laravel": {
|
|
"dont-discover": []
|
|
}
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true
|
|
}
|