composer.json 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "tinywan/storage",
  3. "description": "webman storage plugin",
  4. "type": "library",
  5. "license": "MIT",
  6. "require": {
  7. "php": ">=7.2",
  8. "workerman/webman-framework": "^1.5.4||^2.0"
  9. },
  10. "autoload": {
  11. "psr-4": {
  12. "Tinywan\\Storage\\": "src"
  13. }
  14. },
  15. "autoload-dev": {
  16. "psr-4": {
  17. "Tinywan\\Tests\\": "tests/"
  18. }
  19. },
  20. "require-dev": {
  21. "workerman/webman": "^1.0",
  22. "carthage-software/mago": "^1.47",
  23. "pestphp/pest": "^3.8",
  24. "aliyuncs/oss-sdk-php": "^2.4",
  25. "qcloud/cos-sdk-v5": "^2.5",
  26. "qiniu/php-sdk": "^7.4",
  27. "league/flysystem-aws-s3-v3": "^1.0"
  28. },
  29. "scripts": {
  30. "format:check": "mago format --check",
  31. "format": "mago format",
  32. "lint": "mago lint",
  33. "analyse": "mago analyze",
  34. "test": "pest",
  35. "check": [
  36. "@format:check",
  37. "@lint",
  38. "@analyse",
  39. "@test"
  40. ]
  41. },
  42. "config": {
  43. "allow-plugins": {
  44. "carthage-software/mago": true,
  45. "pestphp/pest-plugin": true
  46. },
  47. "sort-packages": true
  48. }
  49. }