composer.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "name": "freshrss.org/freshrss",
  3. "description": "A free, self-hostable aggregator",
  4. "type": "project",
  5. "homepage": "https://freshrss.org/",
  6. "license": "AGPL-3.0",
  7. "support": {
  8. "docs": "https://freshrss.github.io/FreshRSS/",
  9. "issues": "https://github.com/FreshRSS/FreshRSS/issues",
  10. "source": "https://github.com/FreshRSS/FreshRSS/"
  11. },
  12. "keywords": [
  13. "news",
  14. "aggregator",
  15. "RSS",
  16. "Atom",
  17. "WebSub"
  18. ],
  19. "require": {
  20. "php": ">=7.0.0"
  21. },
  22. "require-dev": {
  23. "phpunit/phpunit": "^9",
  24. "squizlabs/php_codesniffer": "^3.6"
  25. },
  26. "scripts": {
  27. "php-lint": "find . -type d -name 'vendor' -prune -o -name '*.php' -print0 | xargs -0 -n1 -P4 php -l 1>/dev/null",
  28. "phtml-lint": "find . -type d -name 'vendor' -prune -o -name '*.phtml' -print0 | xargs -0 -n1 -P4 php -l 1>/dev/null",
  29. "phpcs": "phpcs . -s",
  30. "phpcbf": "phpcbf . -p -s",
  31. "phpunit": "phpunit --bootstrap ./tests/bootstrap.php --verbose ./tests",
  32. "translations": "cli/manipulate.translation.php -a format",
  33. "test": [
  34. "@php-lint",
  35. "@phtml-lint",
  36. "@phpunit",
  37. "@phpcs"
  38. ],
  39. "fix": [
  40. "@translations",
  41. "@phpcbf"
  42. ]
  43. }
  44. }