composer.json 789 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. "jakub-onderka/php-parallel-lint": "^0.9.2",
  20. "jakub-onderka/php-console-highlighter": "^0.3.2",
  21. "nextcloud/coding-standard": "^0.3.0"
  22. },
  23. "scripts": {
  24. "cs:fix": "php-cs-fixer fix",
  25. "cs:check": "php-cs-fixer fix --dry-run --diff",
  26. "lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/.phan/*' -print0 | xargs -0 -n1 php -l"
  27. }
  28. }