composer.json 734 B

12345678910111213141516171819202122232425262728
  1. {
  2. "config" : {
  3. "vendor-dir": "lib/composer",
  4. "optimize-autoloader": true
  5. },
  6. "autoload" : {
  7. "psr-4": {
  8. "": "lib/private/legacy",
  9. "OC\\": "lib/private",
  10. "OC\\Core\\": "core/",
  11. "OCP\\": "lib/public"
  12. }
  13. },
  14. "require": {
  15. "ext-json": "*",
  16. "ext-pdo": "*"
  17. },
  18. "require-dev": {
  19. "nextcloud/coding-standard": "^0.3.0",
  20. "vimeo/psalm": "3.15"
  21. },
  22. "scripts": {
  23. "cs:fix": "php-cs-fixer fix",
  24. "cs:check": "php-cs-fixer fix --dry-run --diff",
  25. "lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/stubs/*' -print0 | xargs -0 -n1 php -l",
  26. "psalm": "psalm"
  27. }
  28. }