composer.json 818 B

12345678910111213141516171819202122232425262728293031
  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-libxml": "*",
  17. "ext-pdo": "*",
  18. "ext-simplexml": "*",
  19. "ext-xmlreader": "*"
  20. },
  21. "require-dev": {
  22. "nextcloud/coding-standard": "^0.3.0",
  23. "vimeo/psalm": "^4.0"
  24. },
  25. "scripts": {
  26. "cs:fix": "php-cs-fixer fix",
  27. "cs:check": "php-cs-fixer fix --dry-run --diff",
  28. "lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/stubs/*' -print0 | xargs -0 -n1 php -l",
  29. "psalm": "psalm"
  30. }
  31. }