支付宝记账本
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.6 KiB

5 months ago
  1. {
  2. "$schema": "https://getcomposer.org/schema.json",
  3. "name": "laravel/laravel",
  4. "type": "project",
  5. "description": "The skeleton application for the Laravel framework.",
  6. "keywords": [
  7. "laravel",
  8. "framework"
  9. ],
  10. "license": "MIT",
  11. "require": {
  12. "php": "^8.2",
  13. "dcat/laravel-admin": "2.*",
  14. "laravel-lang/common": "^6.7",
  15. "laravel/framework": "^12.0",
  16. "laravel/tinker": "^2.10.1",
  17. "mews/captcha": "^3.4"
  18. },
  19. "require-dev": {
  20. "fakerphp/faker": "^1.23",
  21. "laravel/pail": "^1.2.2",
  22. "laravel/pint": "^1.24",
  23. "laravel/sail": "^1.41",
  24. "mockery/mockery": "^1.6",
  25. "nunomaduro/collision": "^8.6",
  26. "pestphp/pest": "^3.8",
  27. "pestphp/pest-plugin-laravel": "^3.2"
  28. },
  29. "autoload": {
  30. "files": [
  31. "app/Libs/helpers.php"
  32. ],
  33. "psr-4": {
  34. "App\\": "app/",
  35. "Database\\Factories\\": "database/factories/",
  36. "Database\\Seeders\\": "database/seeders/"
  37. }
  38. },
  39. "autoload-dev": {
  40. "psr-4": {
  41. "Tests\\": "tests/"
  42. }
  43. },
  44. "scripts": {
  45. "post-autoload-dump": [
  46. "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
  47. "@php artisan package:discover --ansi"
  48. ],
  49. "post-update-cmd": [
  50. "@php artisan vendor:publish --tag=laravel-assets --ansi --force"
  51. ],
  52. "post-root-package-install": [
  53. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  54. ],
  55. "post-create-project-cmd": [
  56. "@php artisan key:generate --ansi",
  57. "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
  58. "@php artisan migrate --graceful --ansi"
  59. ],
  60. "dev": [
  61. "Composer\\Config::disableProcessTimeout",
  62. "npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite --kill-others"
  63. ],
  64. "test": [
  65. "@php artisan config:clear --ansi",
  66. "@php artisan test"
  67. ]
  68. },
  69. "extra": {
  70. "laravel": {
  71. "dont-discover": []
  72. }
  73. },
  74. "config": {
  75. "optimize-autoloader": true,
  76. "preferred-install": "dist",
  77. "sort-packages": true,
  78. "allow-plugins": {
  79. "pestphp/pest-plugin": true,
  80. "php-http/discovery": true
  81. }
  82. },
  83. "minimum-stability": "dev",
  84. "prefer-stable": true
  85. }