74 lines
2.8 KiB
JSON
74 lines
2.8 KiB
JSON
{
|
|
"name": "cakephp/app",
|
|
"description": "CakePHP skeleton app",
|
|
"homepage": "https://cakephp.org",
|
|
"type": "project",
|
|
"license": "MIT",
|
|
"require": {
|
|
"php": ">=7.2",
|
|
"admad/cakephp-social-auth": "^1.1",
|
|
"cakephp/authentication": "^2.0",
|
|
"cakephp/authorization": "^2.0",
|
|
"cakephp/cakephp": "^4.3",
|
|
"cakephp/migrations": "^3.0",
|
|
"cakephp/plugin-installer": "^1.2",
|
|
"erusev/parsedown": "^1.7",
|
|
"mobiledetect/mobiledetectlib": "^2.8"
|
|
},
|
|
"require-dev": {
|
|
"cakephp/bake": "^2.0.3",
|
|
"cakephp/cakephp-codesniffer": "~4.0.0",
|
|
"cakephp/debug_kit": "^4.0",
|
|
"cebe/php-openapi": "^1.6",
|
|
"fzaninotto/faker": "^1.9",
|
|
"josegonzalez/dotenv": "^3.2",
|
|
"league/openapi-psr7-validator": "^0.17",
|
|
"phpunit/phpunit": "^8.5",
|
|
"psy/psysh": "@stable",
|
|
"wiremock-php/wiremock-php": "^2.32"
|
|
},
|
|
"suggest": {
|
|
"markstory/asset_compress": "An asset compression plugin which provides file concatenation and a flexible filter system for preprocessing and minification.",
|
|
"dereuromark/cakephp-ide-helper": "After baking your code, this keeps your annotations in sync with the code evolving from there on for maximum IDE and PHPStan/Psalm compatibility.",
|
|
"phpstan/phpstan": "PHPStan focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code."
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "src/",
|
|
"Tags\\": "plugins/Tags/src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"App\\Test\\": "tests/",
|
|
"Tags\\Test\\": "plugins/Tags/tests/",
|
|
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"post-install-cmd": "App\\Console\\Installer::postInstall",
|
|
"post-create-project-cmd": "App\\Console\\Installer::postInstall",
|
|
"check": [
|
|
"@test",
|
|
"@cs-check"
|
|
],
|
|
"cs-check": "phpcs --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/ tests/",
|
|
"cs-fix": "phpcbf --colors --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/ tests/",
|
|
"stan": "phpstan analyse src/",
|
|
"test": [
|
|
"nohup sh ./tests/Helper/wiremock/start.sh >/dev/null 2>&1 &",
|
|
"phpunit",
|
|
"sh ./tests/Helper/wiremock/stop.sh"
|
|
],
|
|
"migrate": [
|
|
"./bin/cake migrations migrate",
|
|
"./bin/cake migrations migrate -p tags",
|
|
"./bin/cake migrations migrate -p ADmad/SocialAuth"
|
|
]
|
|
},
|
|
"prefer-stable": true,
|
|
"config": {
|
|
"sort-packages": true
|
|
},
|
|
"minimum-stability": "dev"
|
|
} |